cvs commit: src/sys/amd64/amd64 pmap.c src/sys/i386/i386 pmap.c

Alan Cox alc at FreeBSD.org
Sun Aug 10 14:53:57 PDT 2003


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


More information about the cvs-src mailing list