Commit 2706a1b8 authored by Anderson Briglia's avatar Anderson Briglia Committed by Linus Torvalds

vmscan: fix comments related to shrink_list()

Fix the shrink_list name on some files under mm/ directory.
Signed-off-by: default avatarAnderson Briglia <anderson.briglia@indt.org.br>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 55394849
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
/* /*
* swapper_space is a fiction, retained to simplify the path through * swapper_space is a fiction, retained to simplify the path through
* vmscan's shrink_list, to make sync_page look nicer, and to allow * vmscan's shrink_page_list, to make sync_page look nicer, and to allow
* future use of radix_tree tags in the swap cache. * future use of radix_tree tags in the swap cache.
*/ */
static const struct address_space_operations swap_aops = { static const struct address_space_operations swap_aops = {
......
...@@ -885,7 +885,7 @@ static int try_to_unuse(unsigned int type) ...@@ -885,7 +885,7 @@ static int try_to_unuse(unsigned int type)
/* /*
* So we could skip searching mms once swap count went * So we could skip searching mms once swap count went
* to 1, we did not mark any present ptes as dirty: must * to 1, we did not mark any present ptes as dirty: must
* mark page dirty so shrink_list will preserve it. * mark page dirty so shrink_page_list will preserve it.
*/ */
SetPageDirty(page); SetPageDirty(page);
unlock_page(page); unlock_page(page);
......
...@@ -317,8 +317,8 @@ EXPORT_SYMBOL(invalidate_mapping_pages); ...@@ -317,8 +317,8 @@ EXPORT_SYMBOL(invalidate_mapping_pages);
* This is like invalidate_complete_page(), except it ignores the page's * This is like invalidate_complete_page(), except it ignores the page's
* refcount. We do this because invalidate_inode_pages2() needs stronger * refcount. We do this because invalidate_inode_pages2() needs stronger
* invalidation guarantees, and cannot afford to leave pages behind because * invalidation guarantees, and cannot afford to leave pages behind because
* shrink_list() has a temp ref on them, or because they're transiently sitting * shrink_page_list() has a temp ref on them, or because they're transiently
* in the lru_cache_add() pagevecs. * sitting in the lru_cache_add() pagevecs.
*/ */
static int static int
invalidate_complete_page2(struct address_space *mapping, struct page *page) invalidate_complete_page2(struct address_space *mapping, struct page *page)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment