[lkml]   [2016]   [Dec]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch 00/10] cpu/hotplug: Final cleanup
On Thu, 22 Dec 2016, Sam Ravnborg wrote:
> Hi Thomas.
> On Wed, Dec 21, 2016 at 08:19:47PM +0100, Thomas Gleixner wrote:
> > The following series completes the cpuhotplug rework stage ONE.
> Just curious - what is the stage TWO (and onwards) plan?
> lwn had some coverage of this work but I assume the
> article is somewhat outdated.

Stage 2 is to consolidate all the archictecture code, i.e. reduce it to
really arch specific callbacks and keep all the other things
(synchronization, state settings etc.) in the core code.

After that we can do smart things like speed up the boot hotplug process:

prepare CPU1
kick CPU1

prepare CPU2
kick CPU2


prepare CPUN
kick CPUN

check CPU1 alive
bringup CPU1


check CPUN alive
bringup CPUN

That saves ~200ms per CPU on x86, which we now spend busy waiting for the
CPU to come alive.

There is more stuff which we can do in the long run like synchrounosly
letting CPUs bring up themself after the basic init/sync checks, but that
needs lot of surgery all over the place.



 \ /
  Last update: 2016-12-27 12:21    [W:0.237 / U:0.744 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site