Commit edce92fcf24868572b57678126f17de622ae660d
Committed by
Jiri Slaby
1 parent
4b946426a0
Exists in
ti-linux-3.12.y
and in
2 other branches
vmscan: reclaim_clean_pages_from_list() must use mod_zone_page_state()
commit 83da7510058736c09a14b9c17ec7d851940a4332 upstream. Seems to be called with preemption enabled. Therefore it must use mod_zone_page_state instead. Signed-off-by: Christoph Lameter <cl@linux.com> Reported-by: Grygorii Strashko <grygorii.strashko@ti.com> Tested-by: Grygorii Strashko <grygorii.strashko@ti.com> Cc: Tejun Heo <tj@kernel.org> Cc: Santosh Shilimkar <santosh.shilimkar@ti.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Mel Gorman <mel@csn.ul.ie> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Mel Gorman <mgorman@suse.de> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
mm/vmscan.c
... | ... | @@ -1144,7 +1144,7 @@ |
1144 | 1144 | TTU_UNMAP|TTU_IGNORE_ACCESS, |
1145 | 1145 | &dummy1, &dummy2, &dummy3, &dummy4, &dummy5, true); |
1146 | 1146 | list_splice(&clean_pages, page_list); |
1147 | - __mod_zone_page_state(zone, NR_ISOLATED_FILE, -ret); | |
1147 | + mod_zone_page_state(zone, NR_ISOLATED_FILE, -ret); | |
1148 | 1148 | return ret; |
1149 | 1149 | } |
1150 | 1150 |