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:
parent
a8385d61f2
commit
9f47e5fdda
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user