Date: Thu, 4 Nov 2004 15:28:25 -0500 From: John Baldwin <jhb@FreeBSD.org> To: freebsd-smp@FreeBSD.org, Joseph Koshy <joseph.koshy@gmail.com> Subject: Re: Is there a way to defer a device init unless all cpus are running? Message-ID: <200411041528.25929.jhb@FreeBSD.org> In-Reply-To: <84dead72041103204074e8bece@mail.gmail.com> References: <84dead72041103204074e8bece@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 03 November 2004 11:40 pm, Joseph Koshy wrote: > I'd like to defer complete initialization of a driver till all CPUs on a > system have been initialized. Is this possible today? Right now I'm > forced to use a KLD that gets loaded after the system is booted since the > driver needs to set up per-cpu structures. You can setup per-cpu structures on the BSP for one, but you can also use a SI_SUB_SMP sysinit with an order of SI_ORDER_SECOND or greater. -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411041528.25929.jhb>