Re: [PATCH] x86: skip check for spurious faults for non-present faults

From: Dave Hansen
Date: Fri May 16 2014 - 12:54:44 EST


On 05/15/2014 02:20 PM, H. Peter Anvin wrote:
> I'm trying to wrap my head around any forward compatibility
> concerns... if we misidentify a fault as spurious that would be bad.

FWIW, I did go through the bullets in the SDM's "4.10.4.3 Optional
Invalidation". The only condition not covered by this patch is the one
that talks about "CR4.SMEP = 0...".

But, I don't know of any case where we take a userspace page and make it
supervisor-only, so I don't think this is possible now.
--
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/