Re: [PATCH v2 1/2] mm: Add and export vmf_insert_mixed_prot()

2019-12-04 Thread Michal Hocko
On Tue 03-12-19 11:48:52, Thomas Hellström (VMware) wrote: > From: Thomas Hellstrom > > The TTM module today uses a hack to be able to set a different page > protection than struct vm_area_struct::vm_page_prot. To be able to do > this properly, add and export vmf_insert_mixed_prot(). A new symbo

[PATCH v2 1/2] mm: Add and export vmf_insert_mixed_prot()

2019-12-03 Thread VMware
From: Thomas Hellstrom The TTM module today uses a hack to be able to set a different page protection than struct vm_area_struct::vm_page_prot. To be able to do this properly, add and export vmf_insert_mixed_prot(). Cc: Andrew Morton Cc: Michal Hocko Cc: "Matthew Wilcox (Oracle)" Cc: "Kirill