Re: BUG at mm/huge_memory.c:1428!

From: Michel Lespinasse
Date: Thu Sep 13 2012 - 18:46:33 EST

On Thu, Sep 13, 2012 at 11:14 AM, Jiri Slaby <jslaby@xxxxxxx> wrote:
> Hi,
> I've just get the following BUG with today's -next. It happens every
> time I try to update packages.
> kernel BUG at mm/huge_memory.c:1428!

That is very likely my bug.

Do you have the message that should be printed right above the bug ?
( printk(KERN_ERR "mapcount %d page_mapcount %d\n",
mapcount, page_mapcount(page));

Do you get any errors if building with CONFIG_DEBUG_VM and CONFIG_DEBUG_VM_RB ?

Does it go away if you revert "mm: avoid taking rmap locks in
move_ptes()" (cc0eac2e50f036d4d798b18679ca2ae3c4828105 in the -next
version I have here) ?

Michel "Walken" Lespinasse
A program is never fully debugged until the last user dies.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at