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

From: Michal Hocko
Date: Wed Dec 04 2019 - 08:48:57 EST


On Tue 03-12-19 11:48:52, Thomas Hellström (VMware) wrote:
> From: Thomas Hellstrom <thellstrom@xxxxxxxxxx>
>
> 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 symbol should be added in a patch that adds a new user which is
not the case here.
--
Michal Hocko
SUSE Labs