login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
September
»
1
Re: [PATCH] prevent powerpc from invoking irq handlers on offline CPUs
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Paul E. McKenney
Subject:
Re: [PATCH] prevent powerpc from invoking irq handlers on offline CPUs
Date: Sunday, August 31, 2008 - 7:06 pm
On Mon, Sep 01, 2008 at 10:34:44AM +1000, Benjamin Herrenschmidt wrote:
quoted text
> On Sun, 2008-08-31 at 10:31 -0700, Paul E. McKenney wrote: > > Make powerpc refrain from clearing a given to-be-offlined CPU's bit in the > > cpu_online_mask until it has processed pending irqs. This change > > prevents other CPUs from being blindsided by an apparently offline CPU > > nevertheless changing globally visible state. > > > > Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> > > --- > > Sounds reasonable... the only possible worry here is if somebody tries > an IPI ... The IPI code will and the target CPU mask with the online > map, so it may try to send to the to-be-offlined CPU and timeout, no ?
OK. Do we need separate IPI and online masks? Thanx, Paul
quoted text
> Cheers, > Ben. > > > smp.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c > > index 5337ca7..1fedd7d 100644 > > --- a/arch/powerpc/kernel/smp.c > > +++ b/arch/powerpc/kernel/smp.c > > @@ -250,11 +250,11 @@ int generic_cpu_disable(void) > > if (cpu == boot_cpuid) > > return -EBUSY; > > > > - cpu_clear(cpu, cpu_online_map); > > #ifdef CONFIG_PPC64 > > vdso_data->processorCount--; > > fixup_irqs(cpu_online_map); > > #endif > > + cpu_clear(cpu, cpu_online_map); > > return 0; > > } > > >
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] prevent powerpc from invoking irq handlers on offl ...
, Paul E. McKenney
, (Sun Aug 31, 10:31 am)
Re: [PATCH] prevent powerpc from invoking irq handlers on ...
, Benjamin Herrenschmidt
, (Sun Aug 31, 5:34 pm)
Re: [PATCH] prevent powerpc from invoking irq handlers on ...
, Paul E. McKenney
, (Sun Aug 31, 7:06 pm)
Re: [PATCH] prevent powerpc from invoking irq handlers on ...
, Benjamin Herrenschmidt
, (Sun Aug 31, 8:14 pm)
Re: [PATCH] prevent powerpc from invoking irq handlers on ...
, Paul E. McKenney
, (Sun Aug 31, 10:00 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
FUJITA Tomonori
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Jens Axboe
Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1 softlockup while bo...
Ingo Molnar
Re: [RFC/RFT PATCH] sched: automated per tty task groups
Ingo Molnar
Re: [GIT PULL] time.c - respin
Borislav Petkov
drm_vm.c:drm_mmap: possible circular locking dependency detected (was: Re: Linux 2...
git
:
Junio C Hamano
Re: git-svnimport
Michal Sojka
[PATCHv5 1/2] filter-branch: Fix to allow replacing submodules with another content
Junio C Hamano
Re: Fwd: git status options feature suggestion
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
Stefan Richter
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
linux-netdev
:
Arnaldo Carvalho de Melo
Re: [PATCH 06/37] dccp: Limit feature negotiation to connection setup phase
Gerrit Renker
[PATCH 1/5] dccp: Initialisation framework for feature negotiation
Ursula Braun
[patch 2/8] [PATCH] af_iucv: sync sk shutdown flag if iucv path is quiesced
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
git-commits-head
:
Linux Kernel Mailing List
ARM: S3C64XX: DMA: Callback with correct buffer pointer
Linux Kernel Mailing List
sata_mv: drop unncessary EH callback resetting
Linux Kernel Mailing List
libata: disable ATAPI AN by default
Linux Kernel Mailing List
ARM: 5905/1: ARM: Global ASID allocation on SMP
Linux Kernel Mailing List
timer: Try to survive timer callback preempt_count leak
openbsd-misc
:
Rene Maroufi
smtpd: Aliases only work with for local alias aliases
Stephen J. Bevan
GRE over IPsec
Christophe Rioux
Implementation example of snmp
Darrin Chandler
Re: strange output on openbsd C code
Nick Holland
Re: booting openbsd on eee without cd-rom
Colocation donated by:
Syndicate