Thread (19 messages) 19 messages, 2 authors, 2014-07-09

Re: [PATCH v3 12/12] cpuset: export effective masks to userspace

From: Tejun Heo <hidden>
Date: 2014-07-09 20:15:55
Also in: lkml

On Wed, Jul 09, 2014 at 04:49:25PM +0800, Li Zefan wrote:
cpuset.cpus and cpuset.mems are the configured masks, and we need
to export effective masks to userspace, so users know the real
cpus_allowed and mems_allowed that apply to the tasks in a cpuset.

v2:
- export those masks unconditionally, suggested by Tejun.

Signed-off-by: Li Zefan <redacted>
I applied this patch but there's a pending patchset to split legacy
and dfl cftype arrays, so maybe doing it separately makes more sense
now, I'm not sure.  Anyways, we need to review cpuset interface for
the default hierarchy anyway.  At least the memory pressure knobs
should go.  It's measuring something which is completely
implementation dependent.

Thanks.

-- 
tejun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help