diff options
author | Anderson Briglia <briglia.anderson@gmail.com> | 2007-07-15 23:38:09 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 09:05:35 -0700 |
commit | 2706a1b89b1a3e7434a668d4a9d15f616da96685 (patch) | |
tree | 6b8d8b8d24811c7f8b4593e0b600533f9d5329f6 | |
parent | 553948491c18413928b85a9025b92af80e7d61d6 (diff) | |
download | op-kernel-dev-2706a1b89b1a3e7434a668d4a9d15f616da96685.zip op-kernel-dev-2706a1b89b1a3e7434a668d4a9d15f616da96685.tar.gz |
vmscan: fix comments related to shrink_list()
Fix the shrink_list name on some files under mm/ directory.
Signed-off-by: Anderson Briglia <anderson.briglia@indt.org.br>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | mm/swap_state.c | 2 | ||||
-rw-r--r-- | mm/swapfile.c | 2 | ||||
-rw-r--r-- | mm/truncate.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/mm/swap_state.c b/mm/swap_state.c index 5f7cf2a..925d5c5 100644 --- a/mm/swap_state.c +++ b/mm/swap_state.c @@ -21,7 +21,7 @@ /* * 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. */ static const struct address_space_operations swap_aops = { diff --git a/mm/swapfile.c b/mm/swapfile.c index acc172c..7ff0a81 100644 --- a/mm/swapfile.c +++ b/mm/swapfile.c @@ -885,7 +885,7 @@ static int try_to_unuse(unsigned int type) /* * So we could skip searching mms once swap count went * 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); unlock_page(page); diff --git a/mm/truncate.c b/mm/truncate.c index 4fbe1a2..af3dcf0 100644 --- a/mm/truncate.c +++ b/mm/truncate.c @@ -317,8 +317,8 @@ EXPORT_SYMBOL(invalidate_mapping_pages); * This is like invalidate_complete_page(), except it ignores the page's * refcount. We do this because invalidate_inode_pages2() needs stronger * invalidation guarantees, and cannot afford to leave pages behind because - * shrink_list() has a temp ref on them, or because they're transiently sitting - * in the lru_cache_add() pagevecs. + * shrink_page_list() has a temp ref on them, or because they're transiently + * sitting in the lru_cache_add() pagevecs. */ static int invalidate_complete_page2(struct address_space *mapping, struct page *page) |