Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Aug 2003 14:53:56 -0700 (PDT)
From:      Alan Cox <alc@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/amd64/amd64 pmap.c src/sys/i386/i386 pmap.c
Message-ID:  <200308102153.h7ALruFu063439@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
alc         2003/08/10 14:53:56 PDT

  FreeBSD src repository

  Modified files:
    sys/amd64/amd64      pmap.c 
    sys/i386/i386        pmap.c 
  Log:
  Rename pmap_changebit() to pmap_clear_ptes() and remove the last
  parameter.  The new name better reflects what the function does and
  how it is used.  The last parameter was always FALSE.
  
  Note: In theory, gcc would perform constant propagation and dead code
  elimination to achieve the same effect as removing the last parameter,
  which is always FALSE.  In practice, recent versions do not.  So, there
  is little point in letting unused code pessimize execution.
  
  Revision  Changes    Path
  1.430     +19 -25    src/sys/amd64/amd64/pmap.c
  1.424     +19 -25    src/sys/i386/i386/pmap.c



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