lkml.org 
[lkml]   [2006]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: frequent slab corruption (since a long time)
On Wed, Aug 02, 2006 at 05:37:28AM +0200, Andi Kleen wrote:
> Dave Jones <davej@redhat.com> writes:
>
> > Every so often, I see a slab corruption bug reported against
> > the Fedora kernels (going back as far as 2.6.11), and it's
> > still plagueing us.
> >
> > It seems to have turned up in a number of different scenarios,
> > which makes it all the more complicated, but the footprint is
> > always the same. We write ffffffff00000000 to freed memory.
>
> DEBUG_PAGEALLOC + a small slab patch to force the 2k slab to be
> only a single object per page (so that a kfree() immediately
> triggers an unmap) would catch it I guess.

Problem with that approach is that DEBUG_PAGEALLOC makes things
so damned slow that it's pretty much unusable, and this bug
doesn't seem to want to repeat itself to order, so I doubt
many people would put up with the slowdown long enough to chase it down.

Dave

--
http://www.codemonkey.org.uk
-
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: 2006-08-02 06:25    [W:6.306 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site