* Terry Lambert <[EMAIL PROTECTED]> [020514 22:58] wrote:
> Richard Sharpe wrote:
> > Hmmm, I wasn't very clear ...
> > 
> > What I am proposing is a 'simple' fix that simply changes
> > 
> >         p->p_flag |= P_ADVLOCK;
> > 
> > to
> > 
> >         fp->l_flag |= P_ADVLOCK;

As Terry stated you can't do that, however you could cache that the
VNODE has a lock, that would reduce the requirement for calling the
ADVLOCK VOP.

-- 
-Alfred Perlstein [[EMAIL PROTECTED]]
'Instead of asking why a piece of software is using "1970s technology,"
 start asking why software is ignoring 30 years of accumulated wisdom.'
Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/

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

Reply via email to