On Thu, Apr 07, 2016 at 08:52:56PM -0400, Rob Clark wrote:
> A bit overkill since, for example, the rcu_dereference_protected() in
> reservation_object_get_list() will WARN. But this is much less subtle
> for folks reading the code.
>
> v2: use reservation_object_held() instead of ww_mutex_is_loc
On Sat, Jun 4, 2016 at 8:52 AM, Daniel Vetter wrote:
> On Thu, Apr 07, 2016 at 08:52:56PM -0400, Rob Clark wrote:
>> A bit overkill since, for example, the rcu_dereference_protected() in
>> reservation_object_get_list() will WARN. But this is much less subtle
>> for folks reading the code.
>>
>>
A bit overkill since, for example, the rcu_dereference_protected() in
reservation_object_get_list() will WARN. But this is much less subtle
for folks reading the code.
v2: use reservation_object_held() instead of ww_mutex_is_locked()
Signed-off-by: Rob Clark
---
drivers/dma-buf/reservation.c |