Messages in this thread |  | | Date | Fri, 28 Feb 2014 14:34:42 +0530 | Subject | Re: [QUERY]: Is using CPU hotplug right for isolating CPUs? | From | Viresh Kumar <> |
| |
On 15 January 2014 17:04, Peter Zijlstra <peterz@infradead.org> wrote: > On Wed, Jan 15, 2014 at 04:17:26PM +0530, Viresh Kumar wrote: >> On 15 January 2014 16:08, Peter Zijlstra <peterz@infradead.org> 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 ?
|  |