[PATCH 1/2] locking/rwsem: Add down_write_interruptible

Zack Rusin zackr at vmware.com
Tue Mar 9 15:37:49 UTC 2021


On 3/9/21 3:49 AM, Peter Zijlstra wrote:
> On Mon, Mar 08, 2021 at 03:54:55PM -0500, Zack Rusin wrote:
>> Add an interruptible version of down_write. It's the other
>> side of the already implemented down_read_interruptible.
>> It allows drivers which used custom locking code to
>> support interruptible rw semaphores to switch over
>> to rwsem.
>>
>> Cc: Peter Zijlstra <peterz at infradead.org>
>> Cc: Ingo Molnar <mingo at redhat.com>
>> Cc: Will Deacon <will at kernel.org>
>> Cc: linux-kernel at vger.kernel.org
>> Cc: dri-devel at lists.freedesktop.org
> 
> No SoB!

Ah, sorry, fixed that locally.

> Assuning you actually wrote and and simply forgot to add it, the patch
> does look ok, so:
> 
> Acked-by: Peter Zijlstra (Intel) <peterz at infradead.org>

Thank you. I didn't want to bother you with the code in vmwgfx, so I 
only sent it to the lists (it was missing SoB as well):
https://lore.kernel.org/patchwork/patch/1391810/

z


More information about the dri-devel mailing list