Re: [QUERY]: Is using CPU hotplug right for isolating CPUs?

From: Viresh Kumar
Date: Fri Feb 28 2014 - 04:05:00 EST


On 15 January 2014 17:04, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> On Wed, Jan 15, 2014 at 04:17:26PM +0530, Viresh Kumar wrote:
>> On 15 January 2014 16:08, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>> > Nah, its just ugly and we should fix it. You need to be careful to not
>> > place tasks in a cpuset you're going to unplug though, that'll give
>> > funny results.
>>
>> Okay. So how do you suggest to get rid of cases like a work queued
>> on CPU1 initially and because it gets queued again from its work handler,
>> it stays on the same CPU forever.
>
> We should have a cpuset.quiesce control or something that moves all
> timers out.

What should we do here if we have a valid base->running_timer for the
cpu requesting the quiesce ?
--
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/