diff options
author | Hillf Danton <dhillf@gmail.com> | 2012-01-10 18:08:36 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-10 19:30:46 -0500 |
commit | 3770490ec82ca63d5fdcebeb95f2f68af2626357 (patch) | |
tree | 4bbd061f44be4250394f4d580d169efaf07a7368 /mm | |
parent | 043bcbe5ec51e0478ef2b44acef17193e01d7f70 (diff) |
mm: vmscan: fix typo in isolating lru pages
It is not the tag page but the cursor page that we should process, and it
looks a typo.
Signed-off-by: Hillf Danton <dhillf@gmail.com>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Hugh Dickins <hughd@google.com>
Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/vmscan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c index 8a4e767fb8ac..26f4a8a4e0c7 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c | |||
@@ -1173,7 +1173,7 @@ static unsigned long isolate_lru_pages(unsigned long nr_to_scan, | |||
1173 | if (__isolate_lru_page(cursor_page, mode, file) == 0) { | 1173 | if (__isolate_lru_page(cursor_page, mode, file) == 0) { |
1174 | list_move(&cursor_page->lru, dst); | 1174 | list_move(&cursor_page->lru, dst); |
1175 | mem_cgroup_del_lru(cursor_page); | 1175 | mem_cgroup_del_lru(cursor_page); |
1176 | nr_taken += hpage_nr_pages(page); | 1176 | nr_taken += hpage_nr_pages(cursor_page); |
1177 | nr_lumpy_taken++; | 1177 | nr_lumpy_taken++; |
1178 | if (PageDirty(cursor_page)) | 1178 | if (PageDirty(cursor_page)) |
1179 | nr_lumpy_dirty++; | 1179 | nr_lumpy_dirty++; |