aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorMel Gorman <[email protected]>2011-07-08 15:39:39 -0700
committerLinus Torvalds <[email protected]>2011-07-08 21:14:43 -0700
commitda175d06b437093f93109ba9e5efbe44dfdf9409 (patch)
tree04bbed7c41347e3614690947c66f87e8e38a6051 /tools/perf/util/scripting-engines/trace-event-python.c
parentd7868dae893c83c50c7824bc2bc75f93d114669f (diff)
mm: vmscan: evaluate the watermarks against the correct classzone
When deciding if kswapd is sleeping prematurely, the classzone is taken into account but this is different to what balance_pgdat() and the allocator are doing. Specifically, the DMA zone will be checked based on the classzone used when waking kswapd which could be for a GFP_KERNEL or GFP_HIGHMEM request. The lowmem reserve limit kicks in, the watermark is not met and kswapd thinks it's sleeping prematurely keeping kswapd awake in error. Signed-off-by: Mel Gorman <[email protected]> Reported-by: Pádraig Brady <[email protected]> Tested-by: Pádraig Brady <[email protected]> Tested-by: Andrew Lutomirski <[email protected]> Acked-by: Rik van Riel <[email protected]> Reviewed-by: Minchan Kim <[email protected]> Cc: KOSAKI Motohiro <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions