cvs commit: src/sys/kern subr_smp.c

John Baldwin jhb at freebsd.org
Tue Jul 3 19:27:57 UTC 2007


On Tuesday 03 July 2007 02:37:06 pm John Baldwin wrote:
> jhb         2007-07-03 18:37:06 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/kern             subr_smp.c 
>   Log:
>   Tweak the low-level MI SMP code some:
>   - Use cpu_spinwait() in the spin loops in stop_cpus(), restart_cpus(), and
>     smp_rendezvous_action().
>   - Remove unneeded acq memory barriers in stop_cpus(), restart_cpus(), and
>     smp_rendezvous_action().
>   - Add an additional synch point in smp_rendezvous() to ensure that all the
>     CPUs will always see an up-to-date value of smp_rv_setup_func.
>   
>   Reviewed by:    attilio
>   Approved by:    re (kensmith)
>   Tested on:      alpha, amd64, i386, sparc64 SMP (for several years)

s/kensmith/rwatson/  Sorry :(

-- 
John Baldwin


More information about the cvs-src mailing list