Re: [PATCH] mm/mlock: fix BUG_ON unlocked page for nolinear VMAs

From: Linus Torvalds
Date: Fri Jan 03 2014 - 15:52:27 EST


On Fri, Jan 3, 2014 at 12:17 PM, Sasha Levin <sasha.levin@xxxxxxxxxx> wrote:
>
> Ping? This BUG() is triggerable in 3.13-rc6 right now.

So Andrew suggested just removing the BUG_ON(), but it's been there
for a *long* time.

And I detest the patch that was sent out that said "Should I check?"

Maybe we should just remove that mlock_vma_page() thing instead in
try_to_unmap_cluster()? Or maybe actually lock the page around calling
it?

Linus
--
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/