tech-kern archive

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

Re: panic due to lost vnode flag



Hello,

Manuel Bouyer <bouyer%antioche.eu.org@localhost> wrote:
> Could all thoses who have the problem try the attached patch (against
> netbsd-5 but should apply without much problems to HEAD) ?

>               mutex_exit(&vp->v_interlock);
> +             cv_broadcast(&vp->v_cv);

This (and other instances) are wrong i.e. cv_broadcast() must always be
called with interlock held (in this case v_interlock).

-- 
Mindaugas


Home | Main Index | Thread Index | Old Index