aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/memory.c
diff options
context:
space:
mode:
authorMatthew Brost <matthew.brost@intel.com>2025-03-05 17:26:27 -0800
committerMatthew Brost <matthew.brost@intel.com>2025-03-06 11:35:23 -0800
commita14fa8ec9d811c1cef902345b58294b589655b41 (patch)
tree6dd2ee0b6547f97a7d453cd1a2e6407f87c9d9ad /mm/memory.c
parentdrm/xe: Retry BO allocation (diff)
downloadwireguard-linux-a14fa8ec9d811c1cef902345b58294b589655b41.tar.xz
wireguard-linux-a14fa8ec9d811c1cef902345b58294b589655b41.zip
mm/migrate: Add migrate_device_pfns
Add migrate_device_pfns which prepares an array of pre-populated device pages for migration. This is needed for eviction of known set of non-contiguous devices pages to cpu pages which is a common case for SVM in DRM drivers using TTM. v2: - s/migrate_device_vma_range/migrate_device_prepopulated_range - Drop extra mmu invalidation (Vetter) v3: - s/migrate_device_prepopulated_range/migrate_device_pfns (Alistar) - Use helper to lock device pages (Alistar) - Update commit message with why this is required (Alistar) Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Alistair Popple <apopple@nvidia.com> Reviewed-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250306012657.3505757-3-matthew.brost@intel.com
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions