[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080229005354.21631c09.pj@sgi.com>
Date: Fri, 29 Feb 2008 00:53:54 -0600
From: Paul Jackson <pj@....com>
To: David Rientjes <rientjes@...gle.com>
Cc: mingo@...e.hu, a.p.zijlstra@...llo.nl, tglx@...utronix.de,
oleg@...sign.ru, rostedt@...dmis.org, maxk@...lcomm.com,
linux-kernel@...r.kernel.org
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@....com> 1.940.382.4214
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists