-
- Downloads
mm: simplify device private page handling in hmm_range_fault
Remove the HMM_PFN_DEVICE_PRIVATE flag, no driver has ever set this flag on input, and the only place that uses it on output can be trivially changed to use is_device_private_page(). This removes the ability to request that device_private pages are faulted back into system memory. Link: https://lore.kernel.org/r/20200316193216.920734-4-hch@lst.de Signed-off-by:Christoph Hellwig <hch@lst.de> Reviewed-by:
Jason Gunthorpe <jgg@mellanox.com> Signed-off-by:
Jason Gunthorpe <jgg@mellanox.com>
Showing
- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 0 additions, 1 deletiondrivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
- drivers/gpu/drm/nouveau/nouveau_dmem.c 3 additions, 2 deletionsdrivers/gpu/drm/nouveau/nouveau_dmem.c
- drivers/gpu/drm/nouveau/nouveau_svm.c 0 additions, 1 deletiondrivers/gpu/drm/nouveau/nouveau_svm.c
- include/linux/hmm.h 0 additions, 2 deletionsinclude/linux/hmm.h
- mm/hmm.c 5 additions, 20 deletionsmm/hmm.c
Loading
Please register or sign in to comment