aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorVegard Nossum <[email protected]>2007-12-04 23:45:30 -0800
committerLinus Torvalds <[email protected]>2007-12-05 09:21:20 -0800
commit294a80a8ed004b383ab214837e1c05ca4098a717 (patch)
tree2cbf9d33ccafa5042dbde85641d4ca27dcf47dc5 /include/linux/debugobjects.h
parent5a622f2d0f86b316b07b55a4866ecb5518dd1cf7 (diff)
SLUB's ksize() fails for size > 2048
I can't pass memory allocated by kmalloc() to ksize() if it is allocated by SLUB allocator and size is larger than (I guess) PAGE_SIZE / 2. The error of ksize() seems to be that it does not check if the allocation was made by SLUB or the page allocator. Reviewed-by: Pekka Enberg <[email protected]> Tested-by: Tetsuo Handa <[email protected]> Cc: Christoph Lameter <[email protected]>, Matt Mackall <[email protected]> Signed-off-by: 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