Re: FILEDESC_LOCK() implementation

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Mon, 12 Jun 2006 07:40:13 +0000
In message <20060612080504.W26634_at_fledge.watson.org>, Robert Watson writes:

>At least in the VFS and socket code, you want a notion of acquiring both and 
>dropping one, or upgrading/downgrading.  The logic tends to go something like 
>this:

That's different from what FILEDESC needs.  FILEDESC has two different
classes of operations: cheap/non-sleeping and expensive/sleeping

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk_at_FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
Received on Mon Jun 12 2006 - 05:40:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:57 UTC