summaryrefslogtreecommitdiffstats
path: root/mm/memfd.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2019-11-22 09:25:12 +0100
committerThomas Hellstrom <thellstrom@vmware.com>2020-01-16 10:32:33 +0100
commit574c5b3d0e4c0803d3094fd27f83e161345ebe2f (patch)
tree5b75b8932101bbe6886192d918709cc8ae219fdb /mm/memfd.c
parentMerge tag 'drm-intel-next-2020-01-14' of git://anongit.freedesktop.org/drm/dr... (diff)
downloadlinux-574c5b3d0e4c0803d3094fd27f83e161345ebe2f.tar.xz
linux-574c5b3d0e4c0803d3094fd27f83e161345ebe2f.zip
mm: Add a vmf_insert_mixed_prot() function
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 the needed vm functionality as vmf_insert_mixed_prot(). Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Michal Hocko <mhocko@suse.com> Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org> Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> Cc: Ralph Campbell <rcampbell@nvidia.com> Cc: "Jérôme Glisse" <jglisse@redhat.com> Cc: "Christian König" <christian.koenig@amd.com> Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Acked-by: Christian König <christian.koenig@amd.com> Acked-by: Michal Hocko <mhocko@suse.com> Acked-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memfd.c')
0 files changed, 0 insertions, 0 deletions