Messages in this thread | | | Date | Fri, 29 Feb 2008 00:53:54 -0600 | From | Paul Jackson <> | Subject | Re: [RFC/PATCH 0/4] CPUSET driven CPU isolation |
| |
David wrote: > @@ -1162,6 +1162,8 @@ static int cpuset_can_attach(struct cgroup_subsys *ss, > > if (cpus_empty(cs->cpus_allowed) || nodes_empty(cs->mems_allowed)) > return -ENOSPC; > + if (tsk->flags & PF_THREAD_BOUND) > + return -EINVAL; > > return security_task_setscheduler(tsk, 0, NULL); > }
I'm ok with this.
-- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <pj@sgi.com> 1.940.382.4214
| |