Re: [PATCH 10/14] drm/amdkfd: Use ref count to prevent kfd_process destruction

2017-12-10 Thread Oded Gabbay
On Fri, Dec 1, 2017 at 11:17 PM, Felix Kuehling wrote: > > On 2017-11-28 04:52 AM, Christian König wrote: >> Am 28.11.2017 um 00:29 schrieb Felix Kuehling: >>> Use a reference counter instead of a lock to prevent process >>> destruction while functions running out of

Re: [PATCH 10/14] drm/amdkfd: Use ref count to prevent kfd_process destruction

2017-12-01 Thread Felix Kuehling
On 2017-11-28 04:52 AM, Christian König wrote: > Am 28.11.2017 um 00:29 schrieb Felix Kuehling: >> Use a reference counter instead of a lock to prevent process >> destruction while functions running out of process context are using >> the kfd_process structure. In many cases these functions don't

Re: [PATCH 10/14] drm/amdkfd: Use ref count to prevent kfd_process destruction

2017-11-28 Thread Christian König
Am 28.11.2017 um 00:29 schrieb Felix Kuehling: Use a reference counter instead of a lock to prevent process destruction while functions running out of process context are using the kfd_process structure. In many cases these functions don't need the structure to be locked. In the few cases that

[PATCH 10/14] drm/amdkfd: Use ref count to prevent kfd_process destruction

2017-11-27 Thread Felix Kuehling
Use a reference counter instead of a lock to prevent process destruction while functions running out of process context are using the kfd_process structure. In many cases these functions don't need the structure to be locked. In the few cases that really do need the process lock, take it