diff options
author | Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com> | 2021-10-27 01:08:51 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-02-07 17:59:53 -0500 |
commit | d1289b41ec4db347794abfed7525e33dd2d9503b (patch) | |
tree | 914452e2a3b118648415184b1c4e6ffb4cd24aec /drivers/gpu/drm/amd/amdkfd/kfd_process.c | |
parent | 4717fe3d8dec42bc951a44f41efc95d635d26325 (diff) |
drm/amdkfd: CRIU allow external mm for svm ranges
Both svm_range_get_attr and svm_range_set_attr helpers use mm struct
from current but for a Checkpoint or Restore operation, the current->mm
will fetch the mm for the CRIU master process. So modify these helpers to
accept the task mm for a target kfd process to support Checkpoint
Restore.
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_process.c')
0 files changed, 0 insertions, 0 deletions