* Andrew R. Reiter <arr@FreeBSD.org> [020401 22:16] wrote:
>
> I've been looking at some global values that are not associated with any
> one subsystem, but need a lock at some point in order to guarantee correct
> bheavior -- specifically, at the moment, the securelevel value. I do not
> right away see a clean place for the related lock to be initialized... Am
> I missing some SYSINIT() (or SYSINIT()s) that are meant for helping to
> initialize locks in this type of situation while still
> protecting/promoting correct order (to ensure we init prior to a lock
> attempt)? Or is that not a good path to go down?
SYSINIT should work provided you run them after the mutex subsystem is
setup. :)
-Alfred
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message