Re: [PATCH 1/2] drm/amdkfd: Use prange->list head for insert_list

2021-12-09 Thread philip yang
On 2021-12-08 7:03 p.m., Felix Kuehling wrote: There are seven list_heads in struct svm_range: list, update_list, remove_list, insert_list, svm_bo_list, deferred_list, child_list. This patch and the next one remove two of them that are redundant. The insert_

[PATCH 1/2] drm/amdkfd: Use prange->list head for insert_list

2021-12-09 Thread Felix Kuehling
There are seven list_heads in struct svm_range: list, update_list, remove_list, insert_list, svm_bo_list, deferred_list, child_list. This patch and the next one remove two of them that are redundant. The insert_list head was only used for new ranges that are not on the svms->list yet. So we can us