aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorVinayak Menon <[email protected]>2017-07-10 15:49:17 -0700
committerLinus Torvalds <[email protected]>2017-07-10 16:32:32 -0700
commit727c080f03e7e2e20e868efd461d4f1022b61d9b (patch)
tree75e1626bf17b0b9680f21225ade3cd4df3413e1e /tools/perf/scripts/python/net_dropmonitor.py
parentef77ba5ce6b0e6b657036ee9fc455fc164b215f8 (diff)
mm: avoid taking zone lock in pagetypeinfo_showmixed()
pagetypeinfo_showmixedcount_print is found to take a lot of time to complete and it does this holding the zone lock and disabling interrupts. In some cases it is found to take more than a second (On a 2.4GHz,8Gb RAM,arm64 cpu). Avoid taking the zone lock similar to what is done by read_page_owner, which means possibility of inaccurate results. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Vinayak Menon <[email protected]> Acked-by: Vlastimil Babka <[email protected]> Cc: Joonsoo Kim <[email protected]> Cc: zhongjiang <[email protected]> Cc: Sergey Senozhatsky <[email protected]> Cc: Sudip Mukherjee <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Mel Gorman <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Sebastian Andrzej Siewior <[email protected]> Cc: David Rientjes <[email protected]> Cc: Minchan Kim <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions