Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2007 18:11:54 +0200
From:      "Vlad GALU" <dudu@dudu.ro>
To:        aanton@spintech.ro
Cc:        freebsd-smp@freebsd.org
Subject:   Re: Wait for smp_start
Message-ID:  <ad79ad6b0701290811q3b4d663fl2d7ab16127b9923@mail.gmail.com>
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 1/28/07, Alin-Adrian Anton <aanton@spintech.ro> 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!


   Depending on your purpose, maybe it'd be easier if you send a
WAKEUP IPI whenever you need the available CPUs to run.

> Yours,
> --
> Alin-Adrian Anton
> GPG keyID 0xC8EBC68D [6488 4AD2 F945 413E 8966 CB12 3BF8 D295 C8EB C68D]
> gpg --keyserver pgp.mit.edu --recv-keys 0xC8EBC68D
>
> "It is dangerous to be right when the government is wrong." - Voltaire
> _______________________________________________
> freebsd-smp@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-smp
> To unsubscribe, send any mail to "freebsd-smp-unsubscribe@freebsd.org"
>


-- 
If it's there, and you can see it, it's real.
If it's not there, and you can see it, it's virtual.
If it's there, and you can't see it, it's transparent.
If it's not there, and you can't see it, you erased it.



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