From: Linus Torvalds Date: Thu, 19 Jul 2007 20:17:15 +0000 (-0700) Subject: Fix up non-NUMA SLAB configuration for zero-sized allocations X-Git-Tag: v2.6.23-rc1~264 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5c96d8a1c67f31ef48935a78da2d2076513842b;p=pandora-kernel.git Fix up non-NUMA SLAB configuration for zero-sized allocations I suspect Christoph tested his code only in the NUMA configuration, for the combination of SLAB+non-NUMA the zero-sized kmalloc's would not work. Of course, this would only trigger in configurations where those zero- sized allocations happen (not very common), so that may explain why it wasn't more widely noticed. Seen by by Andi Kleen under qemu, and there seems to be a report by Michael Tsirkin on it too. Cc: Andi Kleen Cc: Roland Dreier Cc: Michael S. Tsirkin Cc: Pekka Enberg Cc: Christoph Lameter Cc: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed