Commit 83da7510 authored by Christoph Lameter's avatar Christoph Lameter Committed by Linus Torvalds

vmscan: reclaim_clean_pages_from_list() must use mod_zone_page_state()

Seems to be called with preemption enabled.  Therefore it must use
mod_zone_page_state instead.
Signed-off-by: default avatarChristoph Lameter <>
Reported-by: default avatarGrygorii Strashko <>
Tested-by: default avatarGrygorii Strashko <>
Cc: Tejun Heo <>
Cc: Santosh Shilimkar <>
Cc: Ingo Molnar <>
Cc: Mel Gorman <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 674366e9
......@@ -1158,7 +1158,7 @@ unsigned long reclaim_clean_pages_from_list(struct zone *zone,
&dummy1, &dummy2, &dummy3, &dummy4, &dummy5, true);
list_splice(&clean_pages, page_list);
__mod_zone_page_state(zone, NR_ISOLATED_FILE, -ret);
mod_zone_page_state(zone, NR_ISOLATED_FILE, -ret);
return ret;
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