diff options
author | Christoph Lameter <clameter@sgi.com> | 2007-05-17 07:10:53 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-17 14:23:03 +0200 |
commit | 0b44f7a5b5078d737b3f5914978aabb761254840 (patch) | |
tree | 7d726723f427a3add9a22ac4d34ca236b6f8376a /Documentation/vm | |
parent | SLUB: Define functions for cpu slab handling instead of using PageActive (diff) | |
download | linux-0b44f7a5b5078d737b3f5914978aabb761254840.tar.xz linux-0b44f7a5b5078d737b3f5914978aabb761254840.zip |
slab: warn on zero-length allocations
slub warns on this, and we're working on making kmalloc(0) return NULL.
Let's make slab warn as well so our testers detect such callers more
rapidly.
Signed-off-by: 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/vm')
0 files changed, 0 insertions, 0 deletions