Re: [PATCH] [1/5] CPA: Split static_protections into required_static_prot and advised_static_prot

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andi Kleen <andi@...>
Cc: Andi Kleen <ak@...>, <mingo@...>, <linux-kernel@...>
Date: Saturday, February 9, 2008 - 11:50 am

On Sat, 9 Feb 2008, Andi Kleen wrote:

No, it is not clear at all. Why is there a requirement for NX, when I
have an overlapping area of RO and RW in a large page mapping? If I
want to preserve the large page mapping in such a case, then its
required to make the mapping RW and omit the protection of the RO
area, nothing else.


Your patches do change the behaviour. The range checking breaks the
enforcement of some restrictions for the sake of keeping the large
page intact.

Thanks,
	tglx
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] [1/5] CPA: Split static_protections into require..., Thomas Gleixner, (Sat Feb 9, 11:50 am)