On 9 Apr 2002, Dag-Erling Smorgrav wrote:

>
> Considering that neither LOOKUP_SHARED nor LOOKUP_EXCLUSIVE is
> documented anywhere, could you enlighten us as to what, exactly, they
> do?
>

Right, sorry.  There was some minimal discussion about this on arch quite
a while ago.  Basically, it allows namei to return leafs locked with
shared locks instead of exclusive locks when a flag is set.

This not only reduces contention, but also the number of exclusive locks
that are floating around in the system.

Jeff


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to