[PATCH] drm: Use kref_put_mutex in drm_gem_object_unreference_unlocked

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Tue Apr 7 07:23:55 PDT 2015


Hey,

Op 07-04-15 om 16:19 schreef Ville Syrjälä:
> On Tue, Apr 07, 2015 at 03:56:07PM +0200, Maarten Lankhorst wrote:
>> If kref_put_mutex returns true then the caller or the put function is responsible
>> for unlocking the mutex.
> This patch introduces the kref_put_mutex() usage, so this commit
> message is rather confusing.
>
This was because of the confusion that happened when doing the same in
i915_gem_request_unreference__unlocked, so I thought I would mention it
explicitly in the commit message. :-)

~Maarten



More information about the dri-devel mailing list