Files
linux-cryptodev-2.6/drivers/gpu/drm/amd/amdgpu
Philip Yang 9095e55440 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 <Philip.Yang@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-05-13 15:44:02 -04:00
..
2024-02-12 16:12:00 -05:00
2024-02-27 10:46:59 -05:00
2024-05-08 15:17:05 -04:00
2024-01-15 18:35:37 -05:00
2024-01-15 18:35:37 -05:00
2024-01-15 18:35:37 -05:00
2024-01-15 18:35:37 -05:00
2024-05-02 15:49:16 -04:00
2023-08-07 16:35:38 -04:00
2024-02-12 16:12:00 -05:00
2024-02-12 16:12:00 -05:00
2023-03-15 18:45:26 -04:00
2023-03-15 18:45:26 -04:00
2023-08-30 15:00:27 -04:00
2024-05-08 15:17:05 -04:00
2023-08-31 16:34:05 -04:00