Date: Wed, 03 Apr 2002 12:13:51 -0800 From: Terry Lambert <tlambert2@mindspring.com> To: John Baldwin <jhb@FreeBSD.org>, "Andrew R. Reiter" <arr@FreeBSD.ORG>, smp@FreeBSD.ORG, Jake Burkholder <jake@locore.ca> Subject: Re: Where to initialize certain locks... Message-ID: <3CAB627F.79EF279@mindspring.com> References: <XFMail.20020403101153.jhb@FreeBSD.org> <3CAB621A.6F84F736@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Terry Lambert wrote: > John Baldwin wrote: > > We need mutexes prior to mi_startup(). > > There are really two problems with this theory: > > 1) You can't use them before the mutex system is initialized, > which happens from mi_startup. > > 2) There are no contended resources until after mi_startup > starts the other CPU(s). Forgot: 3) I never said to call the init routine at mi_startup(); you could actually call it as early as you wanted, as long as there were no dependencies on things like memory allocation. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CAB627F.79EF279>