Re: [PATCH] do not try to sync identity map for non-mapped pages

From: H. Peter Anvin
Date: Sun Apr 07 2013 - 12:34:13 EST


On 04/07/2013 06:33 AM, Borislav Petkov wrote:
>
> looks like we haven't whacked all the moles - I keep seeing this when
> testing 32-bit builds in qemu on latest Linus + tip. I'd guess this is
> still that /dev/mem accessing thing called wdm.
>
> I'm still wondering though whether we should BUG_ON on a /dev/mem
> access?
>

We shouldn't, no. /dev/mem really needs to be fixed along a bunch of
axes. Yes, it is privileged and extra creepy, but it should either work
or it should fail cleanly.

-hpa

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