diff options
author | Andrew Morton | 2007-05-17 07:10:54 +0200 |
---|---|---|
committer | Linus Torvalds | 2007-05-17 14:23:03 +0200 |
commit | ade3aff25fb2dce76e2a9b53e1334bd0a174f739 (patch) | |
tree | a10770c6eb13c6c6dc9b74d208fc25e66aafc3f1 /Documentation/sgi-ioc4.txt | |
parent | slab: warn on zero-length allocations (diff) | |
download | kernel-qcow2-linux-ade3aff25fb2dce76e2a9b53e1334bd0a174f739.tar.gz kernel-qcow2-linux-ade3aff25fb2dce76e2a9b53e1334bd0a174f739.tar.xz kernel-qcow2-linux-ade3aff25fb2dce76e2a9b53e1334bd0a174f739.zip |
slub: fix handling of oversized slabs
I'm getting zillions of undefined references to __kmalloc_size_too_large on
alpha. For some reason alpha is building out-of-line copies of kmalloc_slab()
into lots of compilation units.
It turns out that gcc just isn't smart enough to work out that
__builtin_contant_p(size)==true implies that __builtin_contant_p(index)==true.
So let's give it a bit of help.
Cc: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/sgi-ioc4.txt')
0 files changed, 0 insertions, 0 deletions