Re:Re: [PATCH] drm/amdgpu: Reduce a lock scope in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()

赵军奎 bernard at vivo.com
Mon Apr 20 00:51:54 UTC 2020



From: Markus Elfring <Markus.Elfring at web.de>
Date: 2020-04-19 17:05:07
To:  Bernard Zhao <bernard at vivo.com>,amd-gfx at lists.freedesktop.org,dri-devel at lists.freedesktop.org,Alex Deucher <alexander.deucher at amd.com>,"Christian König" <christian.koenig at amd.com>,Chunming Zhou <David1.Zhou at amd.com>,"Felix Kühling" <Felix.Kuehling at amd.com>
Cc:  kernel at vivo.com,linux-kernel at vger.kernel.org,Daniel Vetter <daniel at ffwll.ch>,David Airlie <airlied at linux.ie>
Subject: Re: [PATCH] drm/amdgpu: Reduce a lock scope in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()>> Maybe we could reduce the mutex_lock(&mem->lock)`s protected code area,
>> and noneed to protect pr_debug.
>
>I suggest to improve the commit message.
>Would you like to adjust the patch subject?
>
>Do you imagine that data synchronisation should evolve in other ways?
>
>Regards,
>Markus

Sure, I will modify the code and adjust this patch subject. I will submit it again.





More information about the amd-gfx mailing list