From: Christoph Lameter Date: Sun, 6 May 2007 21:49:38 +0000 (-0700) Subject: SLUB: allocate smallest object size if the user asks for 0 bytes X-Git-Tag: v2.6.22-rc1~966 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=614410d5892af5f86d0ec14e28f9f6d5f4ac9e9b;p=pandora-kernel.git SLUB: allocate smallest object size if the user asks for 0 bytes Makes SLUB behave like SLAB in this area to avoid issues.... Throw a stack dump to alert people. At some point the behavior should be switched back. NULL is no memory as far as I can tell and if the use asked for 0 bytes then he need to get no memory. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed