linux/mm
Linus Torvalds 9550b105b8 slub: fix ksize() for zero-sized pointers
The slab and slob allocators already did this right, but slub would call
"get_object_page()" on the magic ZERO_SIZE_PTR, with all kinds of nasty
end results.

Noted by Ingo Molnar.

Cc: Ingo Molnar <mingo@elte.hu>
Cc: Christoph Lameter <clameter@sgi.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-19 13:21:34 -07:00
..
allocpercpu.c
backing-dev.c
bootmem.c
bounce.c
fadvise.c
filemap_xip.c
filemap.c readahead: split ondemand readahead interface into two functions 2007-07-19 10:04:44 -07:00
filemap.h
fremap.c only allow nonlinear vmas for ram backed filesystems 2007-07-19 10:04:41 -07:00
highmem.c
hugetlb.c hugetlb: use set_compound_page_dtor 2007-07-19 10:04:50 -07:00
internal.h
Kconfig
madvise.c
Makefile
memory_hotplug.c
memory.c lguest: export symbols for lguest as a module 2007-07-19 10:04:52 -07:00
mempolicy.c
mempool.c
migrate.c
mincore.c
mlock.c
mmap.c mm: variable length argument support 2007-07-19 10:04:45 -07:00
mmzone.c
mprotect.c mm: variable length argument support 2007-07-19 10:04:45 -07:00
mremap.c mm: variable length argument support 2007-07-19 10:04:45 -07:00
msync.c
nommu.c
oom_kill.c
page_alloc.c mm: share PG_readahead and PG_reclaim 2007-07-19 10:04:44 -07:00
page_io.c
page-writeback.c move page writeback acounting out of macros 2007-07-19 10:04:52 -07:00
pdflush.c
prio_tree.c
quicklist.c
readahead.c readahead: sanify file_ra_state names 2007-07-19 10:04:44 -07:00
rmap.c
shmem_acl.c
shmem.c
slab.c Fix up non-NUMA SLAB configuration for zero-sized allocations 2007-07-19 13:17:15 -07:00
slob.c
slub.c slub: fix ksize() for zero-sized pointers 2007-07-19 13:21:34 -07:00
sparse.c
swap_state.c
swap.c
swapfile.c
thrash.c
tiny-shmem.c
truncate.c
util.c
vmalloc.c lguest: export symbols for lguest as a module 2007-07-19 10:04:52 -07:00
vmscan.c
vmstat.c