Re: [PATCH for 2.6.22] [1/10] i386: bug in i386 MTRR initialization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux