Re: vm related lock up in 2.6.15

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

 




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 [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