Re: [Xen-devel] [PATCH] x86: mark the entire directmap NX

2017-08-31 Thread Andrew Cooper
On 31/08/17 16:55, Jan Beulich wrote: > There's no reason for the first Mb to be excluded here. Enforce the > restriction right in the top level page table entries. > > Suggested-by: Andrew Cooper > Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper _

[Xen-devel] [PATCH] x86: mark the entire directmap NX

2017-08-31 Thread Jan Beulich
There's no reason for the first Mb to be excluded here. Enforce the restriction right in the top level page table entries. Suggested-by: Andrew Cooper Signed-off-by: Jan Beulich --- a/xen/arch/x86/x86_64/mm.c +++ b/xen/arch/x86/x86_64/mm.c @@ -887,32 +887,21 @@ void __init subarch_init_memory(v