diff options
| author | David Rientjes <[email protected]> | 2013-04-29 15:06:11 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-04-29 15:54:28 -0700 |
| commit | 4b59e6c4730978679b414a8da61514a2518da512 (patch) | |
| tree | 241f48acea764191a458c6ae2d058b079b24f12d /tools/perf/scripts/python/bin | |
| parent | fe0bfaaff84429a35e4447d4ccd646aecf5999fb (diff) | |
mm, show_mem: suppress page counts in non-blockable contexts
On large systems with a lot of memory, walking all RAM to determine page
types may take a half second or even more.
In non-blockable contexts, the page allocator will emit a page allocation
failure warning unless __GFP_NOWARN is specified. In such contexts, irqs
are typically disabled and such a lengthy delay may even result in NMI
watchdog timeouts.
To fix this, suppress the page walk in such contexts when printing the
page allocation failure warning.
Signed-off-by: David Rientjes <[email protected]>
Cc: Mel Gorman <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Cc: Dave Hansen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions