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

2014-07-09 Thread Tejun Heo
On Wed, Jul 09, 2014 at 04:15:49PM -0400, Tejun Heo wrote: > 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

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

2014-07-09 Thread Tejun Heo
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

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

2014-07-09 Thread Li Zefan
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 ---

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

2014-07-09 Thread Li Zefan
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

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

2014-07-09 Thread Tejun Heo
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

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

2014-07-09 Thread Tejun Heo
On Wed, Jul 09, 2014 at 04:15:49PM -0400, Tejun Heo wrote: 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