Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jul 2007 18:37:06 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern subr_smp.c
Message-ID:  <200707031837.l63Ib6bY002103@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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