]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
oom: print triggering task's cpuset and mems allowed
authorDavid Rientjes <rientjes@google.com>
Tue, 6 Jan 2009 22:39:01 +0000 (14:39 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:58:59 +0000 (15:58 -0800)
commit75aa199410359dc5fbcf9025ff7af98a9d20f0d5
tree569bffa181ccba56d884ec7e826ae61384297f56
parentc7d4caeb1d68d07f77cc09fc20b7759d6d7aa3b1
oom: print triggering task's cpuset and mems allowed

When cpusets are enabled, it's necessary to print the triggering task's
set of allowable nodes so the subsequently printed meminfo can be
interpreted correctly.

We also print the task's cpuset name for informational purposes.

[rientjes@google.com: task lock current before dereferencing cpuset]
Cc: Paul Menage <menage@google.com>
Cc: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/cpuset.h
kernel/cpuset.c
mm/oom_kill.c