tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: VOP_*LOCK* cleanup proposal



On Tue, 22 Jun 2010, Juergen Hannken-Illjes wrote:

> The vnode lock operations still carry some arguments and semantics from
> our old lockmgr(9).  I propose to clean them up as:
> 
> 1) VOP_LOCK(vp, flags): Limit the set of allowed flags to LK_EXCLUSIVE,
>    LK_SHARED and LK_NOWAIT.  LK_INTERLOCK is no longer allowed as it
>    makes no sense here.

Have you tested these changes with LFS to make sure you haven't added any 
new deadlocks or hangs?

Eduardo




Home | Main Index | Thread Index | Old Index