[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BANLkTimrHnX5BcK5Q6eJgCAzP+j7azAqow@mail.gmail.com>
Date: Mon, 9 May 2011 20:52:53 +0800
From: Hillf Danton <dhillf@...il.com>
To: Yong Zhang <yong.zhang0@...il.com>
Cc: LKML <linux-kernel@...r.kernel.org>, Ingo Molnar <mingo@...e.hu>,
Peter Zijlstra <peterz@...radead.org>,
Mike Galbraith <efault@....de>
Subject: Re: [PATCH] sched: shorten setting the allowed cpu mask of task
On Mon, May 9, 2011 at 12:39 PM, Yong Zhang <yong.zhang0@...il.com> wrote:
> On Fri, May 6, 2011 at 8:52 PM, Hillf Danton <dhillf@...il.com> wrote:
>> When setting the allowed cpu mask for a given task, if the task is
>> already bound to certain cpu, after checking the validity of the new
>
> Maybe we don't need to restrict it only on task bound to certain cpu.
>
Hi Yong
The original code guards, I guess, casual change in the mask of
allowed CPUs, if bounded,
for tasks such as the workers of work queue. So the restriction looks necessary.
thanks
Hillf
--
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