login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
20
Re: Linux 2.6.25-rc2
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Zhang, Yanmin <yanmin_zhang@...>
To: Pekka Enberg <penberg@...>
Cc: Ingo Molnar <mingo@...>, Mathieu Desnoyers <mathieu.desnoyers@...>, Torsten Kaiser <just.for.lkml@...>, Linus Torvalds <torvalds@...>, Linux Kernel Mailing List <linux-kernel@...>, Christoph Lameter <clameter@...>
Subject:
Re: Linux 2.6.25-rc2
Date: Tuesday, February 19, 2008 - 8:36 pm
On Tue, 2008-02-19 at 17:52 +0200, Pekka Enberg wrote:
quoted text
> Ingo Molnar wrote: > > * Pekka Enberg <penberg@cs.helsinki.fi> wrote: > > > >>> Yes, this can happen. Are you saying it is not safe to be in the > >>> lockless path when an IRQ triggers? > >> Hmm. The barrier() in slab_free() looks fishy. The comment says it's > >> there to make sure we've retrieved c->freelist before c->page but then > >> it uses a _compiler barrier_ which doesn't affect the CPU and the > >> reads may still be re-ordered... Not sure if that matters here though. > > > > find a fix patch for that below - most systems affected seem to be SMP > > ones. > > > > If this (or my other patch) indeed solves the problem i'd still favor a > > full revert of the SLUB_FASTPATH (commit 1f84260c8ce3b1ce26d4), it looks > > quite un-cooked and quite un-tested for multiple independent reasons. > > > > Sigh, why do i again have to be the messenger who brings the bad news to > > SLUB land, and again when poor Christoph went on vacation? :-/ > > > > Ingo > > > > --------------------------> > > Subject: SLUB: barrier fix > > From: Ingo Molnar <mingo@elte.hu> > > > > --- > > mm/slub.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > Index: linux/mm/slub.c > > =================================================================== > > --- linux.orig/mm/slub.c > > +++ linux/mm/slub.c > > @@ -1862,7 +1862,7 @@ static __always_inline void slab_free(st > > debug_check_no_locks_freed(object, s->objsize); > > do { > > freelist = c->freelist; > > - barrier(); > > + smp_mb(); > > /* > > * If the compiler would reorder the retrieval of c->page to > > * come before c->freelist then an interrupt could > > Torsten/Yamin, does this fix things for you? What about reverting commit > 1f84260c8ce3b1ce26d4c1d6dedc2f33a3a29c0c ("SLUB: Alternate fast paths > using cmpxchg_local")?
I'm busy in another issue and will test it ASAP. Sorry. -yanmin --
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:
Linux 2.6.25-rc2
, Linus Torvalds
, (Fri Feb 15, 5:23 pm)
Re: Linux 2.6.25-rc2
, Torsten Kaiser
, (Sat Feb 16, 5:38 pm)
Re: Linux 2.6.25-rc2
, Ingo Molnar
, (Tue Feb 19, 2:11 am)
Re: Linux 2.6.25-rc2
, Torsten Kaiser
, (Tue Feb 19, 2:54 am)
Re: Linux 2.6.25-rc2
, Pekka Enberg
, (Tue Feb 19, 3:21 am)
Re: Linux 2.6.25-rc2
, Mathieu Desnoyers
, (Tue Feb 19, 10:02 am)
Re: Linux 2.6.25-rc2
, Torsten Kaiser
, (Tue Feb 19, 2:39 pm)
Re: Linux 2.6.25-rc2
, Eric Dumazet
, (Tue Feb 19, 12:27 pm)
Re: Linux 2.6.25-rc2
, Christoph Lameter
, (Wed Feb 27, 7:32 pm)
Re: Linux 2.6.25-rc2
, Mathieu Desnoyers
, (Tue Feb 19, 4:03 pm)
Re: Linux 2.6.25-rc2
, Christoph Lameter
, (Wed Feb 27, 7:34 pm)
[PATCH] Implement slub fastpath in terms of freebase and fre...
, Mathieu Desnoyers
, (Thu Feb 28, 1:55 am)
Re: [PATCH] Implement slub fastpath in terms of freebase and...
, Christoph Lameter
, (Thu Feb 28, 3:08 pm)
Re: [PATCH] Implement slub fastpath in terms of freebase and...
, Mathieu Desnoyers
, (Thu Feb 28, 7:25 pm)
Re: [PATCH] Implement slub fastpath in terms of freebase and...
, Christoph Lameter
, (Thu Feb 28, 8:57 pm)
Re: [PATCH] Implement slub fastpath in terms of freebase and...
, Mathieu Desnoyers
, (Thu Feb 28, 9:56 pm)
Re: [PATCH] Implement slub fastpath in terms of freebase and...
, Christoph Lameter
, (Thu Feb 28, 10:12 pm)
Re: [PATCH] Implement slub fastpath in terms of freebase and...
, Mathieu Desnoyers
, (Thu Feb 28, 11:32 pm)
Re: [PATCH] Implement slub fastpath in terms of freebase and...
, Christoph Lameter
, (Fri Feb 29, 1:11 am)
[PATCH] Slub Freeoffset check overflow
, Mathieu Desnoyers
, (Fri Feb 29, 9:28 am)
[PATCH] Slub Freeoffset check overflow (updated)
, Mathieu Desnoyers
, (Tue Mar 4, 2:17 am)
Re: [PATCH] Slub Freeoffset check overflow (updated)
, Christoph Lameter
, (Tue Mar 4, 3:15 am)
Re: [PATCH] Implement slub fastpath in terms of freebase and...
, Mathieu Desnoyers
, (Fri Feb 29, 9:03 am)
Re: [PATCH] Implement slub fastpath in terms of freebase and...
, Christoph Lameter
, (Fri Feb 29, 3:57 pm)
Re: Linux 2.6.25-rc2
, Linus Torvalds
, (Tue Feb 19, 12:38 pm)
Re: Linux 2.6.25-rc2
, Pekka Enberg
, (Tue Feb 19, 10:21 am)
Re: Linux 2.6.25-rc2
, Mathieu Desnoyers
, (Tue Feb 19, 4:08 pm)
Re: Linux 2.6.25-rc2
, Christoph Lameter
, (Wed Feb 27, 7:32 pm)
Re: Linux 2.6.25-rc2
, Andrew Morton
, (Wed Feb 27, 9:57 pm)
Re: Linux 2.6.25-rc2
, Jiri Kosina
, (Thu Feb 28, 7:13 am)
Re: Linux 2.6.25-rc2
, Ingo Molnar
, (Thu Feb 28, 4:14 am)
Re: Linux 2.6.25-rc2
, Alan Cox
, (Thu Feb 28, 7:15 am)
Re: Linux 2.6.25-rc2
, Christoph Lameter
, (Wed Feb 27, 10:43 pm)
Re: Linux 2.6.25-rc2
, Pekka Enberg
, (Tue Feb 19, 10:38 am)
Re: Linux 2.6.25-rc2
, Linus Torvalds
, (Tue Feb 19, 12:20 pm)
Re: Linux 2.6.25-rc2
, Torsten Kaiser
, (Tue Feb 19, 3:27 pm)
Re: Linux 2.6.25-rc2
, Ingo Molnar
, (Tue Feb 19, 12:45 pm)
Re: Linux 2.6.25-rc2
, Ingo Molnar
, (Tue Feb 19, 12:48 pm)
Re: Linux 2.6.25-rc2
, Ingo Molnar
, (Tue Feb 19, 10:55 am)
Re: Linux 2.6.25-rc2
, Pekka Enberg
, (Tue Feb 19, 11:52 am)
Re: Linux 2.6.25-rc2
, Zhang, Yanmin
, (Tue Feb 19, 8:36 pm)
Re: Linux 2.6.25-rc2
, Zhang, Yanmin
, (Tue Feb 19, 10:08 pm)
Re: Linux 2.6.25-rc2
, Zhang, Yanmin
, (Wed Feb 20, 2:53 am)
Re: Linux 2.6.25-rc2
, Pekka Enberg
, (Wed Feb 20, 3:10 am)
Re: Linux 2.6.25-rc2
, Ingo Molnar
, (Tue Feb 19, 10:57 am)
Re: Linux 2.6.25-rc2
, Pekka Enberg
, (Tue Feb 19, 11:54 am)
Re: Linux 2.6.25-rc2
, Ingo Molnar
, (Tue Feb 19, 6:27 am)
Re: Linux 2.6.25-rc2
, Mathieu Desnoyers
, (Tue Feb 19, 9:02 am)
Re: Linux 2.6.25-rc2
, Ingo Molnar
, (Tue Feb 19, 10:00 am)
Re: Linux 2.6.25-rc2
, Pekka Enberg
, (Tue Feb 19, 6:45 am)
Re: Linux 2.6.25-rc2
, Linus Torvalds
, (Mon Feb 18, 7:54 pm)
Re: Linux 2.6.25-rc2
, Torsten Kaiser
, (Tue Feb 19, 2:44 am)
Re: Linux 2.6.25-rc2
, Rafael J. Wysocki
, (Sun Feb 17, 4:25 pm)
Re: Linux 2.6.25-rc2
, Torsten Kaiser
, (Sun Feb 17, 5:32 pm)
Linux 2.6.25-rc2 regression: LVM cannot find volume group
, Tilman Schmidt
, (Sat Feb 16, 3:14 pm)
Re: Linux 2.6.25-rc2 regression: LVM cannot find volume group
, Alan Cox
, (Sat Feb 16, 4:12 pm)
Re: Linux 2.6.25-rc2 regression: LVM cannot find volume group
, Jiri Slaby
, (Sat Feb 16, 6:37 pm)
Re: Linux 2.6.25-rc2 regression: LVM cannot find volume group
, Alasdair G Kergon
, (Mon Feb 18, 9:53 pm)
Re: Linux 2.6.25-rc2 regression: LVM cannot find volume group
, Tilman Schmidt
, (Tue Feb 19, 4:56 am)
Re: Linux 2.6.25-rc2 regression: LVM cannot find volume group
, Tilman Schmidt
, (Sun Feb 17, 8:57 pm)
Re: Linux 2.6.25-rc2 regression: LVM cannot find volume group
, Jeff Chua
, (Sun Feb 17, 9:22 pm)
Re: Linux 2.6.25-rc2 regression: LVM cannot find volume group
, Tilman Schmidt
, (Mon Feb 18, 6:35 am)
Re: Linux 2.6.25-rc2
, Jan Engelhardt
, (Sat Feb 16, 12:52 pm)
[BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1 sof...
, Kamalesh Babulal
, (Sat Feb 16, 2:10 am)
Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1...
, Rafael J. Wysocki
, (Sun Feb 17, 4:08 pm)
Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1...
, Jens Axboe
, (Sun Feb 17, 3:29 pm)
Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1...
, KAMEZAWA Hiroyuki
, (Tue Feb 19, 4:04 am)
Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1...
, Jens Axboe
, (Tue Feb 19, 4:36 am)
Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1...
, Andrew Morton
, (Fri Feb 22, 3:24 am)
Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1...
, Jens Axboe
, (Fri Feb 22, 3:40 am)
Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1...
, Kamalesh Babulal
, (Tue Feb 19, 9:19 am)
Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1...
, KAMEZAWA Hiroyuki
, (Tue Feb 19, 5:02 am)
Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1...
, Jens Axboe
, (Tue Feb 19, 5:01 am)
Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1...
, KAMEZAWA Hiroyuki
, (Tue Feb 19, 4:47 am)
Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1...
, Jens Axboe
, (Tue Feb 19, 4:58 am)
Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1...
, KAMEZAWA Hiroyuki
, (Tue Feb 19, 5:07 am)
Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1...
, Jens Axboe
, (Tue Feb 19, 5:09 am)
[BUG] Linux 2.6.25-rc2 - Kernel Ooops while running dbench
, Kamalesh Babulal
, (Sat Feb 16, 1:44 am)
Re: [BUG] Linux 2.6.25-rc2 - Kernel Ooops while running dbench
, Andrew Morton
, (Mon Feb 18, 8:59 am)
Re: [BUG] Linux 2.6.25-rc2 - Kernel Ooops while running dbench
, Pekka Enberg
, (Mon Mar 3, 7:51 am)
Re: [BUG] Linux 2.6.25-rc2 - Kernel Ooops while running dbench
, Kamalesh Babulal
, (Tue Mar 4, 12:03 am)
Re: [BUG] Linux 2.6.25-rc2 - Kernel Ooops while running dbench
, Jeff Garzik
, (Mon Feb 18, 10:25 am)
Re: [BUG] Linux 2.6.25-rc2 - Kernel Ooops while running dbench
, Frans Pop
, (Mon Feb 18, 12:11 pm)
Re: Linux 2.6.25-rc2
, Rafael J. Wysocki
, (Fri Feb 15, 10:08 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Srivatsa Vaddagiri
Re: [PATCH, RFC] reimplement flush_workqueue()
Greg KH
[GIT PATCH] driver core patches against 2.6.24
debian developer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Rafael J. Wysocki
2.6.26-rc7-git2: Reported regressions from 2.6.25
linux-netdev
:
Alexey Dobriyan
Re: [GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Ilpo Järvinen
Re: [bug] stuck localhost TCP connections, v2.6.26-rc3+
git
:
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
7 users
and
1048 guests
online.
Online users
chris09304
sreejithc
puntmuts
zeekec
kernel Clark
nystoc30
johnLombard
Syndicate