login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
13
Re: [PATCH] SLUB: clear c->freelist in __slab_alloc()/load_freelist:/SlabDebug path
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Pekka Enberg
Subject:
Re: [PATCH] SLUB: clear c->freelist in __slab_alloc()/load_freelist:/SlabDebug path
Date: Monday, May 12, 2008 - 11:14 pm
On Mon, May 12, 2008 at 11:32 PM, Benny Halevy <bhalevy@panasas.com> wrote:
quoted text
> In the __slab_alloc()/load_freelist:/SlabDebug(c->page) path we only > use the object at the head of c->page->freelist > and the tail goes back to c->page->freelist. > We then set c->node = -1 to force __slab_alloc in next allocation. > c->freelist therefore needs to be cleared as it is invalid at this point. > > @@ -1606,6 +1606,7 @@ debug: > if (!alloc_debug_processing(s, c->page, object, addr)) > goto another_slab; > > + c->freelist = NULL; > c->page->inuse++; > c->page->freelist = object[c->offset]; > c->node = -1;
Makes sense. Christoph? --
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] SLUB: clear c->freelist in __slab_alloc()/load_fre ...
, Benny Halevy
, (Mon May 12, 1:32 pm)
Re: [PATCH] SLUB: clear c->freelist in __slab_alloc()/load ...
, Pekka Enberg
, (Mon May 12, 11:14 pm)
Re: [PATCH] SLUB: clear c->freelist in __slab_alloc()/load ...
, Pekka Enberg
, (Tue May 13, 11:40 am)
Re: [PATCH] SLUB: clear c->freelist in __slab_alloc()/load ...
, Benny Halevy
, (Tue May 13, 12:34 pm)
Re: [PATCH] SLUB: clear c->freelist in __slab_alloc()/load ...
, Christoph Lameter
, (Wed May 14, 10:44 am)
Re: [PATCH] SLUB: clear c->freelist in __slab_alloc()/load ...
, Benny Halevy
, (Wed May 14, 10:54 am)
Re: [PATCH] SLUB: clear c->freelist in __slab_alloc()/load ...
, Christoph Lameter
, (Wed May 14, 10:58 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
David Howells
[PATCH] KEYS: Use the variable 'key' in keyctl_describe_key()
Greg Kroah-Hartman
[PATCH 17/36] sysdev: detect multiple driver registrations
Sam Ravnborg
Re: [PATCH] kbuild: fix make V=1
Nick Piggin
Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures
Sergey Dolgov
ata_piix, laptop cdrom, ICH7: EH, limiting speed to PIO
git
:
Pat Thoyts
[PATCH] git-gui: use themed tk widgets with Tk 8.5
Stephen R. van den Berg
Re: [RFC] origin link for cherry-pick and revert
Johannes Schindelin
Re: [PATCH 2/2] git-svn: support fetch with autocrlf on
Junio C Hamano
Re: [PATCH 6/6] Teach core object handling functions about gitlinks
Michael S. Tsirkin
git-kill: rewrite history removing a commit
linux-netdev
:
Jan Engelhardt
[PATCH 1/3] net: tcp: make hybla selectable as default congestion module
Jarek Poplawski
Re: [PATCH] flush_work_sync vs. flush_scheduled_work Re: [PATCH] PHYLIB: IRQ event...
Lennert Buytenhek
Re: Distributed Switch Architecture(DSA)
Daniel Schaffrath
Re: tcp bw in 2.6
Matt Mackall
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
git-commits-head
:
Linux Kernel Mailing List
ipv6: fix an oops when force unload ipv6 module
Linux Kernel Mailing List
tracing: protect reader of cmdline output
Linux Kernel Mailing List
kconfig: recalc symbol value before showing search results
Linux Kernel Mailing List
KVM: VMX: Clear CR4.VMXE in hardware_disable
Linux Kernel Mailing List
USB: set correct configuration in probe of ti_usb_3410_5052
openbsd-misc
:
Claudio Jeker
Re: Vlan Tag on Vlan Tag (l2tunneling)
Josh Grosse
ssh/sshd challenge-response seems to have stopped working in -current
Tomas Bodzar
bsd: uvm_mapent_alloc: out of static map entries
Community First Financial
Teacher A+ Loan
Pieter Verberne
File collision while using pkg_add
Colocation donated by:
Syndicate