mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 12:10:52 -04:00
mm: rename deactivate_page to deactivate_file_page
"deactivate_page" was created for file invalidation so it has too specific logic for file-backed pages. So, let's change the name of the function and date to a file-specific one and yield the generic name. Signed-off-by: Minchan Kim <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Mel Gorman <[email protected]> Cc: Rik van Riel <[email protected]> Cc: Shaohua Li <[email protected]> Cc: Wang, Yalin <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
922c0551a7
commit
cc5993bd7b
3 changed files with 14 additions and 14 deletions
|
|
@ -490,7 +490,7 @@ unsigned long invalidate_mapping_pages(struct address_space *mapping,
|
|||
* of interest and try to speed up its reclaim.
|
||||
*/
|
||||
if (!ret)
|
||||
deactivate_page(page);
|
||||
deactivate_file_page(page);
|
||||
count += ret;
|
||||
}
|
||||
pagevec_remove_exceptionals(&pvec);
|
||||
|
|
|
|||
Loading…
Reference in a new issue