Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Aug 2010 22:04:07 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/amd64/include pcpu.h src/sys/i386/include pcpu.h
Message-ID:  <201008052204.o75M4Lmw064632@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2010-08-05 22:04:07 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/amd64/include    pcpu.h 
    sys/i386/include     pcpu.h 
  Log:
  SVN rev 210902 on 2010-08-05 22:04:07Z by jhb
  
  MFC 210623:
  Mark the __curthread() functions as __pure2 and remove the volatile keyword
  from the inline assembly.  This allows the compiler to cache invocations of
  curthread since it's value does not change within a thread context.
  
  Revision  Changes    Path
  1.48.2.4  +2 -2      src/sys/amd64/include/pcpu.h
  1.50.2.3  +2 -2      src/sys/i386/include/pcpu.h



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