On Wed, 20 Jun 2007, Andi Kleen wrote:
>
> From: Andrea Righi <[EMAIL PROTECTED]>
>
> BUG: at include/linux/slub_def.h:77 kmalloc_index()
This was never a bug, and should have been named a warning. It's also gone
in the current source-tree, since we instead of warning now just return
ZERO_SIZE_PTR, and if somebody then dereferences that zero-sized
allocation, then that is the *real* bug.
So I'm sure the patch description is misleading, but I'm not sure whether
the patch itself is wrong per se. But I'm dropping it for now.
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/