Re: [PATCH] task containersv11 add tasks file interface fix for cpusets

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Paul Menage <menage@...>
Cc: <akpm@...>, <nickpiggin@...>, <a.p.zijlstra@...>, <serue@...>, <clg@...>, <linux-kernel@...>, <ebiederm@...>, <rientjes@...>, <svaidy@...>, <xemul@...>, <containers@...>, <balbir@...>
Date: Wednesday, October 3, 2007 - 1:58 pm

Paul M wrote:

Yes, something in user space has to do it.  It's part of the
kernel-user cpuset API.  If you change a cpuset's 'cpus', then
you have to rewrite each pid in its 'tasks' file back to that
'tasks' file in order to get that 'cpus' change to be applied
to the task struct cpus_allowed of each task, and thereby visible
to the scheduler.

-- 
                  I won't rest till it's the best ...
                  Programmer, Linux Scalability
                  Paul Jackson <pj@sgi.com> 1.925.600.0401
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] task containersv11 add tasks file interface fix ..., Paul Jackson, (Wed Oct 3, 1:58 pm)
Re: [PATCH] task containersv11 add tasks file interface fix ..., Eric W. Biederman, (Thu Oct 11, 7:20 pm)