Re: [Bugme-new] [Bug 2019] New: Bug from the mm subsystem involvingX (fwd)

From: Linus Torvalds
Date: Wed Feb 04 2004 - 21:50:19 EST




On Wed, 4 Feb 2004, Keith Mannthey wrote:
>
> I tried Andrews VM_IO patch earlier today but it didn't fix the
> problem.

Yeah, that patch is not actually converting the pfn_valid() users to only
trust VM_IO, it only does a few special cases (notably the follow_pages()
thing, which wasn't the issue here).

So the patch would have to be expanded to cover _all_ of the page table
following functions. It probably isn't that much, just looking for code
that checks for PageReserved() will pinpoint the needed users pretty well.

So I think the VM_IO approach could fix this, but it would need to be
fleshed out more. In the meantime, fixing pfn_valid() is definitely the
right thing to do.

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/