[PATCH 0/3] Remove drm/ttm-specific mm changes

From: Lorenzo Stoakes
Date: Sun Mar 12 2023 - 19:42:36 EST


Functionality was added specifically for the DRM TTM driver to support
mapping memory for VM_MIXEDMAP VMAs with customised protection flags,
however this has now been rolled back as issues were found with this
approach.

This series removes the mm changes too, retaining some of the useful
comments.

Lorenzo Stoakes (3):
mm: remove unused vmf_insert_mixed_prot()
mm: Remove vmf_insert_pfn_xxx_prot() for huge page-table entries
drm/ttm: Remove comment referencing now-removed
vmf_insert_mixed_prot()

drivers/gpu/drm/ttm/ttm_bo_vm.c | 2 +-
include/linux/huge_mm.h | 39 ++--------------------
include/linux/mm.h | 2 --
include/linux/mm_types.h | 7 +---
mm/huge_memory.c | 31 ++++++++----------
mm/memory.c | 57 +++++++++++----------------------
6 files changed, 35 insertions(+), 103 deletions(-)

--
2.39.2