lkml.org 
[lkml]   [2007]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH for 2.6.22] [1/10] i386: bug in i386 MTRR initialization


On Wed, 20 Jun 2007, Andi Kleen wrote:
>
> From: Andrea Righi <righiandr@users.sourceforge.net>
>
> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-06-20 23:19    [W:1.523 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site