Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jul 2007 22:36:56 +0000 (UTC)
From:      Jeff Roberson <jeff@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/amd64/amd64 cpu_switch.S
Message-ID:  <200707172236.l6HMauO8085675@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jeff        2007-07-17 22:36:56 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/amd64      cpu_switch.S 
  Log:
   - Optimize the amd64 cpu_switch() TD_LOCK blocking and releasing to
     require fewer blocking loops.
   - Don't use atomic ops with 4BSD or on UP.
   - Only use the blocking loop if ULE is compiled in.
   - Use the correct memory barrier.
  
  Discussed with: attilio, jhb, ssouhlal
  Tested by:      current@
  Approved by:    re
  
  Revision  Changes    Path
  1.159     +19 -15    src/sys/amd64/amd64/cpu_switch.S



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