ANDROID: mm: page_pinner: change function names

Make function name more clear to indicate what it's doing.

Bug: 192475091
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: I6adabc0df6a54cf24d8287bf0f22cf7dcdc7ad03
This commit is contained in:
Minchan Kim 2021-07-07 13:06:30 -07:00
parent a8385d61f2
commit 9f47e5fdda
2 changed files with 3 additions and 3 deletions

View File

@ -1233,7 +1233,7 @@ static inline void put_page(struct page *page)
{
page = compound_head(page);
page_pinner_migration_failed(page);
page_pinner_put_page(page);
/*
* For devmap managed pages we need to catch refcount transition from

View File

@ -39,7 +39,7 @@ static inline void dump_page_pinner(struct page *page)
__dump_page_pinner(page);
}
static inline void page_pinner_migration_failed(struct page *page)
static inline void page_pinner_put_page(struct page *page)
{
if (!static_branch_unlikely(&failure_tracking))
return;
@ -67,7 +67,7 @@ static inline void set_page_pinner(struct page *page, unsigned int order)
static inline void dump_page_pinner(struct page *page)
{
}
static inline void page_pinner_migration_failed(struct page *page)
static inline void page_pinner_put_page(struct page *page)
{
}
static inline void page_pinner_mark_migration_failed_pages(struct list_head *page_list)