Re: mm/rmap.c negative page map count BUG.

From: Hugh Dickins
Date: Wed Jan 11 2006 - 11:11:11 EST


On Wed, 11 Jan 2006, Octavio Alvarez Piza wrote:
> On Thu, 05 Jan 2006 11:00:41 -0800
> "Octavio Alvarez" <alvarezp@xxxxxxxxxxxxxxxx> wrote:
>
> I have found another instance of "bad_page_state" with mapcount:-1
> before hitting BUG_ON().
>
> Bad page state at free_hot_cold_page (in process 'X', page c1140c60)
> flags:0x80010008 mapping:00000000 mapcount:-65536 count:0

No, that's mapcount -65536 not -1.

That means page->_mapcount contained 0xfffeffff when it should have
contained 0xffffffff. A single bit got cleared. Probably bad memory,
overheating, something of that kind.

> I ran memtest86+ for 24 hours prior to installing the latest kernel boot
> with no errors reported.

Well, you've done your best to rule out that possibility, yes.

We can't rule out that something somewhere in the kernel has
scribbled on that location, but I've no guesses what.

Hugh
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/