Re: [PATCH] x86_64 add NX mask for PTE entry

From: Andi Kleen
Date: Wed Oct 18 2006 - 06:59:37 EST


On Wednesday 18 October 2006 11:15, bibo,mao wrote:
> Hi,
> If function change_page_attr_addr calls revert_page to revert
> to original pte value, mk_pte_phys does not mask NX bit. If NX bit
> is set on no NX hardware supported x86_64 machine, there is will
> be RSVD type page fault and system will crash. This patch adds NX
> mask bit for PTE entry.

Hmm, weird. I wonder why that didn't trip up earlier. Did you
actually see that happening?


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