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

From: Paul Jackson
Date: Fri Feb 29 2008 - 01:54:18 EST


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@xxxxxxx> 1.940.382.4214
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/