]> git.baikalelectronics.ru Git - kernel.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)
commit7b72110a45a60e1df4e43a256040b951f3187f33
tree569bffa181ccba56d884ec7e826ae61384297f56
parent1c5c3f02308b69c11b2160191f689ece0402be19
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