Re: [patch] Add a writer prior lock methord for rwlock

From: Arjan van de Ven
Date: Wed Aug 04 2004 - 04:17:18 EST


On Wed, 2004-08-04 at 11:09, Liu Tao wrote:
> The patch adds the write_forcelock() methord, which has higher priority than
> read_lock() and write_lock(). The original read_lock() and write_lock()
> is not
> touched, and the unlock methord is still write_unlock();
> The patch gives implemention on i386, for kernel 2.6.7.

can you please elaborate what kind of usage scenarios this would be
useful ? It would be nice to know what this is for ;)

Attachment: signature.asc
Description: This is a digitally signed message part