diff options
author | Vegard Nossum <vegard.nossum@gmail.com> | 2007-12-05 08:45:30 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-12-05 18:21:20 +0100 |
commit | 294a80a8ed004b383ab214837e1c05ca4098a717 (patch) | |
tree | 2cbf9d33ccafa5042dbde85641d4ca27dcf47dc5 /mm/backing-dev.c | |
parent | proc: fix proc_dir_entry refcounting (diff) | |
download | linux-294a80a8ed004b383ab214837e1c05ca4098a717.tar.xz linux-294a80a8ed004b383ab214837e1c05ca4098a717.zip |
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 <penberg@cs.helsinki.fi>
Tested-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Cc: Christoph Lameter <clameter@sgi.com>, Matt Mackall <mpm@selenic.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/backing-dev.c')
0 files changed, 0 insertions, 0 deletions