vmscan: reclaim_clean_pages_from_list() must use mod_zone_page_state()
authorChristoph Lameter <cl@linux.com>
Fri, 18 Apr 2014 22:07:10 +0000 (15:07 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 18 Apr 2014 23:40:07 +0000 (16:40 -0700)
commit83da7510058736c09a14b9c17ec7d851940a4332
tree50f9e52cc49640bcadc18649ee8c4a9c9035641b
parent674366e90e5a2430e3ddef40ce51512d681944e4
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: 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>
mm/vmscan.c