summaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2011-03-23 00:30:48 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-23 01:44:01 +0100
commitcbf978bfb12d7deca97d7333f65eda0381a072de (patch)
tree75a415ec997606460c0c851f43e29d008476f231 /mm/slab.c
parentoom: suppress show_mem() for many nodes in irq context on page alloc failure (diff)
downloadlinux-cbf978bfb12d7deca97d7333f65eda0381a072de.tar.xz
linux-cbf978bfb12d7deca97d7333f65eda0381a072de.zip
oom: suppress nodes that are not allowed from meminfo on page alloc failure
Displaying extremely verbose meminfo for all nodes on the system is overkill for page allocation failures when the context restricts that allocation to only a subset of nodes. We don't particularly care about the state of all nodes when some are not allowed in the current context, they can have an abundance of memory but we can't allocate from that part of memory. This patch suppresses disallowed nodes from the meminfo dump on a page allocation failure if the context requires it. Signed-off-by: David Rientjes <rientjes@google.com> Cc: Mel Gorman <mel@csn.ul.ie> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/slab.c')
0 files changed, 0 insertions, 0 deletions