login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
29
Re: [PATCH] 2.6.25+: Fix cpu hotplug in softirq code
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Olof Johansson <olof@...>
To: Christian Borntraeger <borntraeger@...>
Cc: Andrew Morton <akpm@...>, David S. Miller <davem@...>, Heiko Carstens <heiko.carstens@...>, <linux-kernel@...>
Subject:
Re: [PATCH] 2.6.25+: Fix cpu hotplug in softirq code
Date: Tuesday, April 29, 2008 - 7:40 pm
On Thu, Apr 24, 2008 at 09:13:11PM +0200, Christian Borntraeger wrote:
quoted text
> Hello Olof, > > currently cpu hotplug (unplug) seems broken on s390 and likely others. On cpu > unplug the system starts to behave very strange and hangs. > > I bisected the problem to the following commit: > > ----- > commit 48f20a9a9488c432fc86df1ff4b7f4fa895d1183 > Author: Olof Johansson <olof@lixom.net> > Date: Tue Mar 4 15:23:25 2008 -0800 > tasklets: execute tasklets in the same order they were queued > ----- > > Reverting this patch seems to fix the problem. I looked into takeover_tasklet > and it seems that there is a way to corrupt the tail pointer of the current > cpu. If the tasklet list of the frozen cpu is empty, the tail pointer of the > current cpu points to the address of the head pointer of the stopped cpu and > not to the next pointer of a tasklet_struct. > > This patch avoids the list splice of the list is empty and cpu hotplug seems > to work as the tail pointer is not corrupted. > Olof, can you look into that patch and ACK/NACK it so Andrew can push this to > Linus, if appropriate? > Please note that some lines are longer than 80 chars, but line-wrapping looked > worse that this version. > > Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
I don't have a hotplug-capable system to test on, but the patch looks good to me. Good catch. Acked-by: Olof Johansson <olof@lixom.net> -Olof --
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] 2.6.25+: Fix cpu hotplug in softirq code
, Christian Borntraeger
, (Thu Apr 24, 3:13 pm)
Re: [PATCH] 2.6.25+: Fix cpu hotplug in softirq code
, Olof Johansson
, (Tue Apr 29, 7:40 pm)
[PATCH/resend] 2.6.25+: Fix cpu hotplug problem in softirq c...
, Christian Borntraeger
, (Tue Apr 29, 3:40 am)
Re: [PATCH/resend] 2.6.25+: Fix cpu hotplug problem in softi...
, Ingo Molnar
, (Tue Apr 29, 8:32 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 002/196] Chinese: rephrase English introduction in HOWTO
David Brown
Re: Linux 2.6.21-rc2
James Bottomley
Re: Integration of SCST in the mainstream Linux kernel
Justin C. Sherrill
Re: dragonflybsd.org website link?
git
:
linux-netdev
:
Ben Hutchings
Re: [GIT]: Networking
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
584 guests
online.
Online users
juegosiles
olecom
Syndicate