login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
8
Re: [PATCH,RFC] Add call_rcu_sched()
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Andrew Morton <akpm@...>
To: <ego@...>
Cc: <paulmck@...>, <linux-kernel@...>, <mathieu.desnoyers@...>, <mingo@...>, <hch@...>, <mmlnx@...>, <dipankar@...>, <dsmith@...>, <rostedt@...>, <adrian.bunk@...>, <a.p.zijlstra@...>, <niv@...>, <dvhltc@...>, <rusty@...>, <jkenisto@...>, <oleg@...>
Subject:
Re: [PATCH,RFC] Add call_rcu_sched()
Date: Tuesday, April 8, 2008 - 5:07 am
On Tue, 8 Apr 2008 14:26:37 +0530 Gautham R Shenoy <ego@in.ibm.com> wrote:
quoted text
> On Tue, Apr 08, 2008 at 01:39:36AM -0700, Andrew Morton wrote: > > On Tue, 8 Apr 2008 13:40:48 +0530 Gautham R Shenoy <ego@in.ibm.com> wrote: > > > > > > > + rdp = RCU_DATA_CPU(cpu); > > > <-- here ------\ > > > > > + spin_lock_irqsave(&rdp->lock, flags); | > > > > > + | > > > > > + /* | > > > > > + * We are running on this CPU irq-disabled, so no | > > > > > + * CPU can go offline until we re-enable irqs. | > > > > | > > > > but, but, but. The cpu at `cpu' could have gone offline just before we | > > > > disabled local interrupts. | > > > | > > > In that case the CPU_DEAD callback should have migrated the rcu-lists to | > > > a cpu which is online. | > > | > > But local variable rdp might be pointing at the now-offlined CPU's data? -------/ > > Right. But then rdp wouldn't contain anything useful at this point. > So, we may only end up taking the rdp->lock, observe that there's nothing to do, > and move on. > > Is there something else that I am missing?
erm, I guess that'll work OK. There were intentions to release the per-cpu memory during unplug, but nobody has threatened to do that for a while. --
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,RFC] Add call_rcu_sched()
, Paul E. McKenney
, (Fri Mar 21, 10:36 am)
[PATCH,RFC] Add call_rcu_sched()
, Paul E. McKenney
, (Fri Mar 21, 6:40 pm)
Re: [PATCH,RFC] Add call_rcu_sched()
, Paul E. McKenney
, (Sun Apr 6, 5:37 pm)
Re: [PATCH,RFC] Add call_rcu_sched()
, Andrew Morton
, (Tue Apr 8, 3:34 am)
Re: [PATCH,RFC] Add call_rcu_sched()
, Paul E. McKenney
, (Tue Apr 8, 12:59 pm)
Re: [PATCH,RFC] Add call_rcu_sched()
, Gautham R Shenoy
, (Tue Apr 8, 4:10 am)
Re: [PATCH,RFC] Add call_rcu_sched()
, Andrew Morton
, (Tue Apr 8, 4:39 am)
Re: [PATCH,RFC] Add call_rcu_sched()
, Gautham R Shenoy
, (Tue Apr 8, 4:56 am)
Re: [PATCH,RFC] Add call_rcu_sched()
, Andrew Morton
, (Tue Apr 8, 5:07 am)
Re: [PATCH,RFC] Add call_rcu_sched()
, Paul E. McKenney
, (Tue Apr 8, 1:17 pm)
Re: [PATCH,RFC] Add call_rcu_sched()
, Mathieu Desnoyers
, (Mon Mar 24, 1:06 am)
Re: [PATCH,RFC] Add call_rcu_sched()
, Paul E. McKenney
, (Mon Mar 24, 1:46 am)
Re: [PATCH,RFC] Initialize call_rcu_sched sooner
, Mathieu Desnoyers
, (Tue Mar 25, 8:53 am)
Re: [PATCH,RFC] Initialize call_rcu_sched sooner
, Paul E. McKenney
, (Tue Mar 25, 2:49 pm)
Re: [PATCH,RFC] Add call_rcu_sched()
, Mathieu Desnoyers
, (Mon Mar 24, 9:59 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Paul Jackson
Re: cpuset-remove-sched-domain-hooks-from-cpusets
James Bottomley
Re: Announce: Linux-next (Or Andrew's dream :-))
David Miller
Slow DOWN, please!!!
Masami Hiramatsu
Re: [RFC PATCH v4] Unified trace buffer
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Parag Warudkar
Re: 2.6.29-rc3: tg3 dead after resume
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
5 users
and
1083 guests
online.
Online users
MikeMani444vgm
zeekec
homealarm01
carportgcqq
avondwerkqhgpkz
Syndicate