kernel-ark/mm
Christoph Lameter 33e9e24101 SLUB Debug: fix check for super sized slabs (>512k 64bit, >256k 32bit)
The check for super sized slabs where we can no longer move the free
pointer behind the object for debugging purposes etc is accessing a
field that is not setup yet.  We must use objsize here since the size of
the slab has not been determined yet.

The effect of this is that a global slab shrink via "slabinfo -s" will
show errors about offsets being wrong if booted with slub_debug.
Potentially there are other troubles with huge slabs under slub_debug
because the calculated free pointer offset is truncated.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-23 20:14:13 -07:00
..
allocpercpu.c
backing-dev.c
bootmem.c
bounce.c
fadvise.c
filemap_xip.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
filemap.c
filemap.h
fremap.c
highmem.c
hugetlb.c
internal.h
Kconfig
madvise.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
Makefile
memory_hotplug.c
memory.c mm: more rmap checking 2007-05-17 05:23:06 -07:00
mempolicy.c
mempool.c
migrate.c
mincore.c
mlock.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
mmap.c
mmzone.c
mprotect.c
mremap.c
msync.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
nommu.c
oom_kill.c
page_alloc.c fix unused setup_nr_node_ids 2007-05-23 20:14:13 -07:00
page_io.c
page-writeback.c
pdflush.c
prio_tree.c
quicklist.c
readahead.c
rmap.c mm: more rmap checking 2007-05-17 05:23:06 -07:00
shmem_acl.c
shmem.c Remove SLAB_CTOR_CONSTRUCTOR 2007-05-17 05:23:04 -07:00
slab.c mm/slab: fix section mismatch warning 2007-05-19 09:11:58 +02:00
slob.c Remove SLAB_CTOR_CONSTRUCTOR 2007-05-17 05:23:04 -07:00
slub.c SLUB Debug: fix check for super sized slabs (>512k 64bit, >256k 32bit) 2007-05-23 20:14:13 -07:00
sparse.c mm: fix section mismatch warnings 2007-05-19 09:11:58 +02:00
swap_state.c
swap.c
swapfile.c
thrash.c
tiny-shmem.c
truncate.c
util.c
vmalloc.c Make __vunmap static 2007-05-17 05:23:04 -07:00
vmscan.c
vmstat.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00