Re: [PATCH 1/2] drm/amdkfd: Save pdd to svm_bo to replace node

2024-10-11 Thread Philip Yang
Drop this patch series, as Felix pointed out, the forked process takes svm_bo device pages ref, svm_bo->pdd could refer to the process that doesn't exist any more. Regards, Philip On 2024-10-11 11:00, Philip Yang wrote: KFD process device data pdd wil

[PATCH 1/2] drm/amdkfd: Save pdd to svm_bo to replace node

2024-10-11 Thread Philip Yang
KFD process device data pdd will be used for VRAM usage accounting, save pdd to svm_bo to avoid searching pdd for every accounting, and get KFD node from pdd->dev. svm_bo->pdd will always be valid because KFD process release free all svm_bo first, then destroy process pdds. Signed-off-by: Philip