aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>2021-10-27 01:08:51 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-02-07 17:59:53 -0500
commitd1289b41ec4db347794abfed7525e33dd2d9503b (patch)
tree914452e2a3b118648415184b1c4e6ffb4cd24aec /tools/perf/scripts/python
parentdrm/amdkfd: CRIU checkpoint and restore xnack mode (diff)
downloadlinux-d1289b41ec4db347794abfed7525e33dd2d9503b.tar.gz
linux-d1289b41ec4db347794abfed7525e33dd2d9503b.zip
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions