[PATCH 10/31] x86, pkeys: arch-specific protection bits

2016-01-29 Thread Dave Hansen
From: Dave Hansen Lots of things seem to do: vma->vm_page_prot = vm_get_page_prot(flags); and the ptes get created right from things we pull out of ->vm_page_prot. So it is very convenient if we can store the protection key in flags and vm_page_prot, just like the existing permission

[PATCH 10/31] x86, pkeys: arch-specific protection bits

2016-01-06 Thread Dave Hansen
From: Dave Hansen Lots of things seem to do: vma->vm_page_prot = vm_get_page_prot(flags); and the ptes get created right from things we pull out of ->vm_page_prot. So it is very convenient if we can store the protection key in flags and vm_page_prot, just like the existing permission