aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorLinus Torvalds <[email protected]>2007-07-19 13:21:34 -0700
committerLinus Torvalds <[email protected]>2007-07-19 13:21:34 -0700
commit9550b105b8646f916862aee3ab7b25020ca14159 (patch)
treed5e57db2bfd773611e2b77b4bbe6d89ba8449b45 /include/linux/debugobjects.h
parenta5c96d8a1c67f31ef48935a78da2d2076513842b (diff)
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 <[email protected]> Cc: Christoph Lameter <[email protected]> Cc: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions