lkml.org 
[lkml]   [2006]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: vm related lock up in 2.6.15
On Mon, Jan 09, 2006 at 08:32:20AM -0800, Linus Torvalds wrote:

> > Turns out this was your BUG_ON(page_count(p) <= page_mapcount(p));
> > addition to putpage_test_zero, which I added a few days ago and promptly
> > forgot about.
> >
> > Triggering this isn't too difficult it seems :-/
>
> Well, as I warned in the message that had the patch, the test _is_ racy.
> The reads of the page counts have no serialization, so if another process
> is changing them, I don't guarantee that the test is correct.
>
> IOW, it was meant as a special case debug test for one particular problem
> where I hoped it would give more information, rather than a real patch.

ok, that explains. I'll go back to chasing the real cause of the corruption
I was seeing :-/

Dave

-
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-01-09 17:37    [W:0.048 / U:0.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site