diff options
author | David Rientjes <rientjes@google.com> | 2010-09-22 22:05:10 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-09-23 02:22:39 +0200 |
commit | e85bfd3aa7a34fa963bb268a676b41694e6dcf96 (patch) | |
tree | 6d92d25d390668879fe952e6b6068d774d0471b4 /drivers/pci/intel-iommu.c | |
parent | drivers/video/sis/sis_main.c: prevent reading uninitialized stack memory (diff) | |
download | linux-e85bfd3aa7a34fa963bb268a676b41694e6dcf96.tar.xz linux-e85bfd3aa7a34fa963bb268a676b41694e6dcf96.zip |
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 '')
0 files changed, 0 insertions, 0 deletions