Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

SLAB: remove WARN_ON_ONCE for zero sized objects for 2.6.22 release

We agreed to remove the WARN_ON_ONCE before 2.6.22 is released.

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>

authored by

Christoph Lameter and committed by
Linus Torvalds
17022220 0f4915b9

-1
-1
mm/slab.c
··· 774 774 */ 775 775 BUG_ON(malloc_sizes[INDEX_AC].cs_cachep == NULL); 776 776 #endif 777 - WARN_ON_ONCE(size == 0); 778 777 while (size > csizep->cs_size) 779 778 csizep++; 780 779