cvs commit: src/sys/kern subr_smp.c

John Baldwin jhb at FreeBSD.org
Tue Jul 3 18:37:06 UTC 2007


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)
  
  Revision  Changes    Path
  1.200     +23 -11    src/sys/kern/subr_smp.c


More information about the cvs-src mailing list