Re: [RFC/PATCH 0/4] CPUSET driven CPU isolation

Paul Jackson
2008-02-29T06:54:17Z

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