sched: Always show Cpus_allowed field in /proc/<pid>/status
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 21 Sep 2009 09:06:27 +0000 (11:06 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 21 Sep 2009 09:37:27 +0000 (11:37 +0200)
commitd01d4827858cdc2e1c437c87ab65ec0a00fd40f8
tree433ed8bfdf144887129e9b0ea625c99780bedfd6
parent0d721ceadbeaa24d7f9dd41b3e5e29912327a7e1
sched: Always show Cpus_allowed field in /proc/<pid>/status

The Cpus_allowed fields in /proc/<pid>/status is currently only
shown in case of CONFIG_CPUSETS. However their contents are also
useful for the !CONFIG_CPUSETS case.

So change the current behaviour and always show these fields.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20090921090627.GD4649@osiris.boeblingen.de.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
fs/proc/array.c
kernel/cpuset.c