lkml.org 
[lkml]   [2012]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] arch/CPU hotplug: Add missing CPU Hotplug bits to fix nasty issues
Date
Unfortunately, some of the CPU Hotplug code has been duplicated in all of
the architectures. And in some cases, very poorly (some architectures left
out some of the important bits), to add to the woes.

Commit 5fbd036b552f633abb394a319f7c62a5c86a9cd7 (sched: Cleanup cpu_active
madness) introduced some changes that made the scheduler rely on the
CPU_STARTING notifier. And hence those architectures which forgot to
send out the CPU_STARTING notification will almost surely get into trouble.
(Xen is one example[1]).

The proper fix would be to pull out these bits into generic CPU Hotplug code.
But for now, fix this regression by adding the missing bits in the respective
architectures.

[1].https://lkml.org/lkml/2012/3/20/459
--
Srivatsa S. Bhat (4):
hexagon/CPU hotplug: Add missing call to notify_cpu_starting()
mn10300/CPU hotplug: Add missing call to notify_cpu_starting()
parisc/CPU hotplug: Add missing call to notify_cpu_starting()
tile/CPU hotplug: Add missing call to notify_cpu_starting()


arch/hexagon/kernel/smp.c | 5 +++++
arch/mn10300/kernel/smp.c | 8 ++++++--
arch/parisc/kernel/smp.c | 7 ++++++-
arch/tile/kernel/smpboot.c | 2 ++
4 files changed, 19 insertions(+), 3 deletions(-)


Regards,
Srivatsa S. Bhat
IBM Linux Technology Center



\
 
 \ /
  Last update: 2012-03-22 12:35    [W:0.081 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site