Messages in this thread | | | Date | Mon, 21 Sep 2009 15:33:06 -0700 | Subject | Re: [PATCH] Always show Cpus_allowed field in /proc/<pid>/status. | From | Paul Menage <> |
| |
On Mon, Sep 21, 2009 at 2:17 AM, Heiko Carstens <heiko.carstens@de.ibm.com> wrote: > On Mon, Sep 21, 2009 at 11:06:27AM +0200, Heiko Carstens wrote: > >> +void task_cpus_allowed(struct seq_file *m, struct task_struct *task) > > sigh. This should have been static.. updated patch below. > > > Subject: [PATCH] Always show Cpus_allowed fields in /proc/<pid>/status. > > From: Heiko Carstens <heiko.carstens@de.ibm.com> > > 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>
Acked-by: Paul Menage <menage@google.com>
Sounds reasonable.
| |