login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
March
»
10
Re: [PATCH] keep rd->online and cpu_online_map in sync
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Rafael J. Wysocki
Subject:
Re: [PATCH] keep rd->online and cpu_online_map in sync
Date: Monday, March 10, 2008 - 3:03 pm
On Monday, 10 of March 2008, Suresh Siddha wrote:
quoted text
> On Mon, Mar 10, 2008 at 09:39:34AM -0400, Gregory Haskins wrote: > > keep rd->online and cpu_online_map in sync > > > > It is possible to allow the root-domain cache of online cpus to > > become out of sync with the global cpu_online_map. This is because we > > currently trigger removal of cpus too early in the notifier chain. > > Other DOWN_PREPARE handlers may in fact run and reconfigure the > > root-domain topology, thereby stomping on our own offline handling. > > > > The end result is that rd->online may become out of sync with > > cpu_online_map, which results in potential task misrouting. > > > > So change the offline handling to be more tightly coupled with the > > global offline process by triggering on CPU_DYING intead of > > CPU_DOWN_PREPARE. > > > > Signed-off-by: Gregory Haskins <ghaskins@novell.com> > > --- > > > > kernel/sched.c | 2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > > > diff --git a/kernel/sched.c b/kernel/sched.c > > index 52b9867..a616fa1 100644 > > --- a/kernel/sched.c > > +++ b/kernel/sched.c > > @@ -5881,7 +5881,7 @@ migration_call(struct notifier_block *nfb, unsigned long action, void *hcpu) > > spin_unlock_irq(&rq->lock); > > break; > > > > - case CPU_DOWN_PREPARE: > > + case CPU_DYING: > > Don't we need to take care of CPU_DYING_FROZEN aswell?
Well, I'd say we do.
quoted text
> > /* Update our root-domain */ > > rq = cpu_rq(cpu); > > spin_lock_irqsave(&rq->lock, flags); > >
--
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:
[BUG 2.6.25-rc3] scheduler/hotplug: some processes are dea ...
, Yi Yang
, (Sun Mar 2, 11:42 am)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Dmitry Adamushko
, (Mon Mar 3, 4:54 am)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Ingo Molnar
, (Mon Mar 3, 4:56 am)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Dmitry Adamushko
, (Mon Mar 3, 5:02 am)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Yi Yang
, (Mon Mar 3, 7:45 am)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Yi Yang
, (Mon Mar 3, 7:53 am)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Gautham R Shenoy
, (Mon Mar 3, 8:31 am)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Yi Yang
, (Mon Mar 3, 10:37 am)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Yi Yang
, (Mon Mar 3, 2:56 pm)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Gautham R Shenoy
, (Mon Mar 3, 10:26 pm)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Gautham R Shenoy
, (Tue Mar 4, 2:09 am)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Yi Yang
, (Tue Mar 4, 7:37 am)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Oleg Nesterov
, (Tue Mar 4, 8:01 am)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Gautham R Shenoy
, (Wed Mar 5, 3:05 am)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Oleg Nesterov
, (Wed Mar 5, 6:53 am)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Gautham R Shenoy
, (Thu Mar 6, 4:15 am)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Gautham R Shenoy
, (Thu Mar 6, 5:22 am)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Gautham R Shenoy
, (Thu Mar 6, 6:44 am)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Yi Yang
, (Thu Mar 6, 1:05 pm)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Yi Yang
, (Thu Mar 6, 4:20 pm)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Oleg Nesterov
, (Thu Mar 6, 7:54 pm)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Gautham R Shenoy
, (Fri Mar 7, 2:10 am)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Gautham R Shenoy
, (Fri Mar 7, 3:51 am)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Dmitry Adamushko
, (Fri Mar 7, 6:02 am)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Gautham R Shenoy
, (Fri Mar 7, 6:55 am)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Gautham R Shenoy
, (Fri Mar 7, 8:50 am)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Suresh Siddha
, (Fri Mar 7, 12:14 pm)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Andrew Morton
, (Fri Mar 7, 1:18 pm)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Rafael J. Wysocki
, (Fri Mar 7, 2:36 pm)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Suresh Siddha
, (Fri Mar 7, 4:01 pm)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Andrew Morton
, (Fri Mar 7, 4:29 pm)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Rafael J. Wysocki
, (Fri Mar 7, 4:43 pm)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Suresh Siddha
, (Fri Mar 7, 6:50 pm)
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ...
, Andrew Morton
, (Fri Mar 7, 7:09 pm)
[PATCH] adjust root-domain->online span in response to hot ...
, Gregory Haskins
, (Fri Mar 7, 10:10 pm)
Re: [PATCH] adjust root-domain->online span in response to ...
, Ingo Molnar
, (Sat Mar 8, 1:41 am)
Re: [PATCH] adjust root-domain->online span in response to ...
, Gregory Haskins
, (Sat Mar 8, 10:50 am)
Re: [PATCH] adjust root-domain->online span in response to ...
, Dmitry Adamushko
, (Sat Mar 8, 5:31 pm)
Re: [PATCH] adjust root-domain->online span in response to ...
, Suresh Siddha
, (Sat Mar 8, 7:35 pm)
Re: [PATCH] adjust root-domain->online span in response to ...
, Gautham R Shenoy
, (Mon Mar 10, 1:14 am)
Re: [PATCH] adjust root-domain->online span in response to ...
, Gregory Haskins
, (Mon Mar 10, 5:41 am)
[PATCH] cpu-hotplug: Register update_sched_domains() notif ...
, Gautham R Shenoy
, (Mon Mar 10, 6:13 am)
[PATCH] keep rd->online and cpu_online_map in sync
, Gregory Haskins
, (Mon Mar 10, 6:39 am)
Re: [PATCH] adjust root-domain->online span in response to ...
, Gregory Haskins
, (Mon Mar 10, 7:12 am)
Re: [PATCH] keep rd->online and cpu_online_map in sync
, Gautham R Shenoy
, (Mon Mar 10, 7:21 am)
Re: [PATCH] keep rd->online and cpu_online_map in sync
, Suresh Siddha
, (Mon Mar 10, 11:12 am)
[PATCH v2] keep rd->online and cpu_online_map in sync
, Gregory Haskins
, (Mon Mar 10, 2:59 pm)
Re: [PATCH] keep rd->online and cpu_online_map in sync
, Gregory Haskins
, (Mon Mar 10, 3:00 pm)
Re: [PATCH] keep rd->online and cpu_online_map in sync
, Rafael J. Wysocki
, (Mon Mar 10, 3:03 pm)
Re: [PATCH] keep rd->online and cpu_online_map in sync
, Suresh Siddha
, (Mon Mar 10, 3:10 pm)
Re: [PATCH] cpu-hotplug: Register update_sched_domains() n ...
, Andrew Morton
, (Mon Mar 10, 3:25 pm)
Re: [PATCH v2] keep rd->online and cpu_online_map in sync
, Andrew Morton
, (Mon Mar 10, 4:36 pm)
Re: [PATCH v2] keep rd->online and cpu_online_map in sync
, Suresh Siddha
, (Mon Mar 10, 6:34 pm)
Re: [PATCH v2] keep rd->online and cpu_online_map in sync
, Gautham R Shenoy
, (Mon Mar 10, 9:39 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Christoph Lameter
[PATCH 1/2] Make page->private usable in compound pages V1
Luben Tuikov
Re: Integration of SCST in the mainstream Linux kernel
Alexey Dobriyan
Re: [2.6.22.2 review 09/84] Fix rfkill IRQ flags.
Michal Nazarewicz
Re: [PATCH] USB: Gadget: g_multi: added INF file for gadget with multiple configur...
Jesse Barnes
Re: PCI probing changes
git
:
Jakub Narebski
Re: GSoC 2008 - Mentors Wanted!
Jan Harkes
Re: git-svn and huge data and modifying the git-svn-HEAD branch directly
Andy Parkins
git-fetch fails with error code 128
Marcus Griep
Re: [PATCH 1/3] Git.pm: Add faculties to allow temp files to be cached
Junio C Hamano
Re: [JGIT PATCH 2/2] Decrease the fetch pack client buffer to the lower minimum
git-commits-head
:
Linux Kernel Mailing List
ARM: 5970/1: nomadik-gpio: fix spinlock usage
Linux Kernel Mailing List
sh-sci: update receive error handling for muxed irqs
Linux Kernel Mailing List
No need to do lock_super() for exclusion in generic_shutdown_super()
Linux Kernel Mailing List
x86, msr: Export the register-setting MSR functions via /dev/*/msr
Linux Kernel Mailing List
Input: gpio-keys - add support for disabling gpios through sysfs
linux-netdev
:
Eric Dumazet
[PATCH] net: ALIGN/PTR_ALIGN cleanup in alloc_netdev_mq()/netdev_priv()
Patrick McHardy
[NET_SCHED]: sch_ingress: remove netfilter support
Rose, Gregory V
RE: __bad_udelay in network driver breaks build
Patrick McHardy
Re: no reassembly for outgoing packets on RAW socket
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
openbsd-misc
:
ropers
Re: Real men don't attack straw men
elitdostlar
Seks partneri arayan bayanlar bu adreste - 8878xs706x6438
Marcus Andree
Re: This is what Linus Torvalds calls openBSD crowd
Lars D. Noodén
Re: sshd.config and AllowUsers
Henning Brauer
Re: Sun Blade 1000?
Colocation donated by:
Syndicate