Messages in this thread | | | From | KOSAKI Motohiro <> | Subject | Re: Arch specific mmap attributes (Was: mprotect pgprot handling weirdness) | Date | Tue, 6 Apr 2010 19:26:01 +0900 (JST) |
| |
> Ok, I see. No biggie. The main deal remains how we want to do that > inside the kernel :-) I think the less horrible options here are > to either extend vm_flags to always be 64-bit, or add a separate > vm_map_attributes flag, and add the necessary bits and pieces to > prevent merge accross different attribute vma's.
vma->vm_flags already have VM_SAO. Why do we need more flags? At least, I dislike to add separate flags member into vma. It might introduce unnecessary messy into vma merge thing.
> The more I try to hack it into vm_page_prot, the more I hate that > option.
| |