tech-net archive

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

Re: missing KERNEL_LOCK ?

On Thu, Apr 10, 2014 at 03:32:29PM -0400, Greg Troxel wrote:
> That looks plausibly correct.
> Two thoughts:
>   Have you run with LOCKDEBUG?  We have found that netbsd-6 can run
>   with LOCKDEBUG and stay up, only about a 2x speed penalty.

No, I've not tried this. Indeed LOCKDEBUG causes more serialization so it
could hide this kind of problem.

>   you are making changes to the upstream ipfilter. that's just how it
>   is.  But I wonder if the lock should be in the ifdef on recent netbsd;
>   I do not recall when the locking rules changed.

somewhere between -5 and -6, and only for netinet (the netinet6 stack is
still running under KENREL_LOCK)

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference

Home | Main Index | Thread Index | Old Index