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, 9 Jan 2006, Dave Jones wrote:
>
> Linus,
> 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.

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: 2009-11-18 23:46    [W:0.101 / U:0.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site