diff options
author | David Rientjes <rientjes@google.com> | 2010-09-22 13:05:10 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-09-22 17:22:39 -0700 |
commit | e85bfd3aa7a34fa963bb268a676b41694e6dcf96 (patch) | |
tree | 6d92d25d390668879fe952e6b6068d774d0471b4 /drivers/oprofile/buffer_sync.c | |
parent | fd02db9de73faebc51240619c7c7f99bee9f65c7 (diff) | |
download | kernel_samsung_espresso10-e85bfd3aa7a34fa963bb268a676b41694e6dcf96.zip kernel_samsung_espresso10-e85bfd3aa7a34fa963bb268a676b41694e6dcf96.tar.gz kernel_samsung_espresso10-e85bfd3aa7a34fa963bb268a676b41694e6dcf96.tar.bz2 |
oom: filter unkillable tasks from tasklist dump
/proc/sys/vm/oom_dump_tasks is enabled by default, so it's necessary to
limit as much information as possible that it should emit.
The tasklist dump should be filtered to only those tasks that are eligible
for oom kill. This is already done for memcg ooms, but this patch extends
it to both cpuset and mempolicy ooms as well as init.
In addition to suppressing irrelevant information, this also reduces
confusion since users currently don't know which tasks in the tasklist
aren't eligible for kill (such as those attached to cpusets or bound to
mempolicies with a disjoint set of mems or nodes, respectively) since that
information is not shown.
Signed-off-by: David Rientjes <rientjes@google.com>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/oprofile/buffer_sync.c')
0 files changed, 0 insertions, 0 deletions