Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 2007 16:54:24 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-smp@freebsd.org, aanton@spintech.ro
Subject:   Re: Wait for smp_start
Message-ID:  <200701311654.24688.jhb@freebsd.org>
In-Reply-To: <45BBEFCB.7090607@spintech.ro>
References:  <45BBEFCB.7090607@spintech.ro>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 27 January 2007 19:35, Alin-Adrian Anton wrote:
> Hi guys,
> 
> 	I'm using 6.1.
> 
> 	I'm trying to make a kernel module sleep and wait for all the 
> CPUs/cores to be up and running. Is there any elegant way of doing this now?
> 
> 	As far as I digged I found smp_started variable, but that's kinda 
> unreliable. I need to be woken up when this is atomically set to 1.
> 
> 	I'll appreciate any suggestion and your time. Please CC to my address.
> 
> 	Thanks!

Use a SI_SUB_SMP SYSINIT.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701311654.24688.jhb>