Re: Wait for smp_start

John Baldwin <[email protected]>
Newsgroups gmane.os.freebsd.devel.smp
Message-ID <[email protected]>
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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-smp
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.