linux/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
..
Kconfig sh64: generic quicklist support. 2007-05-14 09:55:35 +09:00
Makefile
allocpercpu.c
backing-dev.c
bootmem.c
bounce.c
fadvise.c
filemap.c Fix: find_or_create_page skips cpuset memory spreading. 2007-05-16 21:19:15 -07:00
filemap.h
filemap_xip.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
fremap.c
highmem.c
hugetlb.c pretend cpuset has some form of hugetlb page reservation 2007-05-09 12:30:49 -07:00
internal.h
madvise.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
memory.c mm: more rmap checking 2007-05-17 05:23:06 -07:00
memory_hotplug.c
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 Fix occurrences of "the the " 2007-05-09 08:57:56 +02:00
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-writeback.c consolidate generic_writepages and mpage_writepages 2007-05-11 08:29:35 -07:00
page_alloc.c fix unused setup_nr_node_ids 2007-05-23 20:14:13 -07:00
page_io.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.c Remove SLAB_CTOR_CONSTRUCTOR 2007-05-17 05:23:04 -07:00
shmem_acl.c
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.c Add suspend-related notifications for CPU hotplug 2007-05-09 12:30:56 -07:00
swap_state.c
swapfile.c
thrash.c Bug in mm/thrash.c function grab_swap_token() 2007-05-11 08:29:32 -07:00
tiny-shmem.c
truncate.c fs: convert core functions to zero_user_page 2007-05-09 12:30:55 -07:00
util.c
vmalloc.c Make __vunmap static 2007-05-17 05:23:04 -07:00
vmscan.c Add suspend-related notifications for CPU hotplug 2007-05-09 12:30:56 -07:00
vmstat.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00