login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
July
»
26
Re: [bug] SLUB & freeing locks [was: Re: 2.6.23-rc1: known regressions with patches]
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Peter Zijlstra <a.p.zijlstra@...>
To: Christoph Lameter <clameter@...>
Cc: Ingo Molnar <mingo@...>, Michal Piotrowski <michal.k.k.piotrowski@...>, Andrew Morton <akpm@...>, <linux-kernel@...>
Subject:
Re: [bug] SLUB & freeing locks [was: Re: 2.6.23-rc1: known regressions with patches]
Date: Thursday, July 26, 2007 - 2:17 pm
On Thu, 2007-07-26 at 11:10 -0700, Christoph Lameter wrote:
quoted text
> On Thu, 26 Jul 2007, Peter Zijlstra wrote: > > > > Index: linux-2.6/mm/slub.c > > > =================================================================== > > > --- linux-2.6.orig/mm/slub.c > > > +++ linux-2.6/mm/slub.c > > > @@ -1131,6 +1131,7 @@ static void __free_slab(struct kmem_cach > > > slab_pad_check(s, page); > > > for_each_object(p, s, page_address(page)) > > > check_object(s, page, p, 0); > > > + ClearSlabDebug(page); > > > } > > > > > > mod_zone_page_state(page_zone(page), > > > @@ -1169,7 +1170,6 @@ static void discard_slab(struct kmem_cac > > > > > > atomic_long_dec(&n->nr_slabs); > > > reset_page_mapcount(page); > > > - ClearSlabDebug(page); > > > __ClearPageSlab(page); > > > free_slab(s, page); > > > } > > > > > > > Christoph, how about this bit, it looks to me like we clear SlabDebug() > > before we hit the last check in __free_slab(). > > Looks right. Have you tried to run a kernel with this change and > "slub_debug"? > > Acked-by: Christoph Lameter <clameter@sgi.com>
Not something this clean, only my WIP slub-rt. I'll run this and do a proper post of this fix. -
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:
2.6.23-rc1: known regressions with patches
, Michal Piotrowski
, (Mon Jul 23, 5:47 am)
[bug] SLUB & freeing locks [was: Re: 2.6.23-rc1: known r...
, Ingo Molnar
, (Thu Jul 26, 5:10 am)
Re: [bug] SLUB & freeing locks [was: Re: 2.6.23-rc1: kno...
, Peter Zijlstra
, (Thu Jul 26, 5:26 am)
Re: [bug] SLUB & freeing locks [was: Re: 2.6.23-rc1: kno...
, Peter Zijlstra
, (Thu Jul 26, 2:04 pm)
Re: [bug] SLUB & freeing locks [was: Re: 2.6.23-rc1: kno...
, Christoph Lameter
, (Thu Jul 26, 2:10 pm)
Re: [bug] SLUB & freeing locks [was: Re: 2.6.23-rc1: kno...
, Peter Zijlstra
, (Thu Jul 26, 2:17 pm)
[PATCH] slub: fix bug in slub debug support
, Peter Zijlstra
, (Thu Jul 26, 2:54 pm)
Re: [bug] SLUB & freeing locks [was: Re: 2.6.23-rc1: kno...
, Peter Zijlstra
, (Thu Jul 26, 5:32 am)
Re: [bug] SLUB & freeing locks [was: Re: 2.6.23-rc1: kno...
, Pekka Enberg
, (Thu Jul 26, 7:08 am)
Re: [bug] SLUB & freeing locks [was: Re: 2.6.23-rc1: kno...
, Christoph Lameter
, (Thu Jul 26, 1:47 pm)
Re: [bug] SLUB & freeing locks [was: Re: 2.6.23-rc1: kno...
, Peter Zijlstra
, (Thu Jul 26, 7:11 am)
Re: [bug] SLUB & freeing locks [was: Re: 2.6.23-rc1: kno...
, Christoph Lameter
, (Thu Jul 26, 1:51 pm)
[PATCH] slub: add lock debugging check
, Peter Zijlstra
, (Thu Jul 26, 2:01 pm)
Re: [bug] SLUB & freeing locks [was: Re: 2.6.23-rc1: kno...
, Ingo Molnar
, (Thu Jul 26, 6:50 am)
Re: [bug] SLUB & freeing locks [was: Re: 2.6.23-rc1: kno...
, Christoph Lameter
, (Thu Jul 26, 1:47 pm)
Re: 2.6.23-rc1: known regressions with patches
, Tejun Heo
, (Tue Jul 24, 2:21 am)
Re: 2.6.23-rc1: known regressions with patches
, Greg KH
, (Mon Jul 23, 6:59 pm)
Re: 2.6.23-rc1: known regressions with patches
, Michal Piotrowski
, (Tue Jul 24, 5:57 pm)
Re: 2.6.23-rc1: known regressions with patches
, Ingo Molnar
, (Mon Jul 23, 6:25 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Mike Travis
[RFC 00/15] x86_64: Optimize percpu accesses
Dave Jones
agp / cpufreq.
linux-netdev
:
Willy Tarreau
Re: [PATCH] tcp: splice as many packets as possible at once
Gerrit Renker
[PATCH 14/37] dccp: Tidy up setsockopt calls
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Natalie Protasevich
[BUG] New Kernel Bugs
git
:
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
594 guests
online.
Online users
kalidavison95
holisticdog329
Syndicate