diff options
author | Matthew Brost <matthew.brost@intel.com> | 2025-03-05 17:26:27 -0800 |
---|---|---|
committer | Matthew Brost <matthew.brost@intel.com> | 2025-03-06 11:35:23 -0800 |
commit | a14fa8ec9d811c1cef902345b58294b589655b41 (patch) | |
tree | 6dd2ee0b6547f97a7d453cd1a2e6407f87c9d9ad /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1d724a2f1b2c3f0cba4975784a808482e0631adf (diff) |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions