diff options
| author | Philip Yang <[email protected]> | 2024-04-30 13:51:51 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-05-13 15:44:02 -0400 |
| commit | 9095e5544061b16d1b331aca3f32c76cbd656d72 (patch) | |
| tree | 1fc184dd13bc267638a4954ef3292ba7c144d77d /tools/perf/scripts/python/libxed.py | |
| parent | 10f624ef239bd136cdcc5bbc626157a57b938a31 (diff) | |
drm/amdkfd: Remove arbitrary timeout for hmm_range_fault
On system with khugepaged enabled and user cases with THP buffer, the
hmm_range_fault may takes > 15 seconds to return -EBUSY, the arbitrary
timeout value is not accurate, cause memory allocation failure.
Remove the arbitrary timeout value, return EAGAIN to application if
hmm_range_fault return EBUSY, then userspace libdrm and Thunk will call
ioctl again.
Change EAGAIN to debug message as this is not error.
Signed-off-by: Philip Yang <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions