Re: [PATCH 4/4] drm/amdgpu: further optimize amdgpu_vm_handle_moved

2018-04-19 Thread zhoucm1
I failed to git am the patch to test, the patch format has problem? From the patch self, is it possible that the vm->moved list is updated when you use local one? Regards, David Zhou On 2018年04月19日 17:29, Christian König wrote: Splice the moved list to a local one to avoid taking the lock

[PATCH 4/4] drm/amdgpu: further optimize amdgpu_vm_handle_moved

2018-04-19 Thread Christian König
Splice the moved list to a local one to avoid taking the lock over and over again. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 27 ++- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b