lkml.org 
[lkml]   [2012]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 0/6] x86/cpu hotplug: Wake up offline CPU via mwait or nmi
From
Date
On Tue, 2012-06-05 at 14:29 -0700, Paul E. McKenney wrote:
> OK, I'll bite... Why not just use CPU hotplug to expel the timers?

Currently? Can you say: 'kstopmachine'?

But its also a question of interface and naming. Do you want to have to
iterate all cpus in your isolated set, do you want to bring them down
far enough to physically unplug. Ideally no to both.

If you don't bring them down far enough to unplug, should you still be
calling it hotplug?

Ideally I think there'd be a file in your cpuset which if opened and
written to will flush all pending bits (timers, workqueues, the lot) and
return when this is done (and maybe provide O_ASYNC writes to not wait
for completion).




\
 
 \ /
  Last update: 2012-06-06 00:01    [W:0.112 / U:1.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site