diff options
author | Philip Yang <Philip.Yang@amd.com> | 2023-06-06 22:46:33 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-06-16 00:55:41 +0300 |
commit | 5d1c70bb6e40c52ee1ff8aa786389919e6fbb09d (patch) | |
tree | 844224224f4ab1877654ee62fbc526e6c3196a05 /scripts/gdb/linux/utils.py | |
parent | d728eda3c59daf2df71f9aae4bb2d3a1eef081da (diff) | |
download | linux-5d1c70bb6e40c52ee1ff8aa786389919e6fbb09d.tar.xz |
drm/amdgpu: Increase hmm range get pages timeout
If hmm_range_fault returns -EBUSY, we should call hmm_range_fault again
to validate the remaining pages. On one system with NUMA auto balancing
enabled, hmm_range_fault takes 6 seconds for 1GB range because CPU
migrate the range one page at a time. To be safe, increase timeout value
to 1 second for 128MB range.
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions