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 Jackson <pj@...>
Cc: <akpm@...>, <nickpiggin@...>, <a.p.zijlstra@...>, <serue@...>, <clg@...>, <linux-kernel@...>, <ebiederm@...>, <rientjes@...>, <svaidy@...>, <xemul@...>, <containers@...>, <balbir@...>
Date: Wednesday, October 3, 2007 - 2:25 pm

On 10/3/07, Paul Menage <menage@google.com> wrote:

i.e. something like:

struct cgroup_iter it;
struct task_struct *p;
while ((p = cgroup_iter_next(cs->css.cgroup, &it))) {
	set_cpus_allowed(p, cs->cpus_allowed);
}
cgroup_iter_end(cs->css.cgroup, &it);

Paul
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

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