Re: [PATCH for 2.6.22] [1/10] i386: bug in i386 MTRRinitialization
From: Linus Torvalds
Date: Wed Jun 20 2007 - 17:17:20 EST
On Wed, 20 Jun 2007, Andi Kleen wrote:
>
> From: Andrea Righi <righiandr@xxxxxxxxxxxxxxxxxxxxx>
>
> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/