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

Alan Cox alc at FreeBSD.org
Sun Oct 3 13:14:07 PDT 2004


alc         2004-10-03 20:14:07 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/amd64      pmap.c 
    sys/i386/i386        pmap.c 
  Log:
  Undo revision 1.251.  This change was a performance pessimizing work-around
  that is no longer required.  (In fact, it is not clear that it was ever
  required in HEAD or RELENG_4, only RELENG_3 required a work-around.)  Now,
  as before revision 1.251, if the preexisting PTE is invalid, pmap_enter()
  does not call pmap_invalidate_page() to update the TLB(s).
  
  Note: Even with this change, the handling of a copy-on-write fault is
  inefficient, in such cases pmap_enter() calls pmap_invalidate_page() twice.
  
  Discussed with: bde@
  PR: kern/16568
  
  Revision  Changes    Path
  1.507     +1 -1      src/sys/amd64/amd64/pmap.c
  1.512     +1 -1      src/sys/i386/i386/pmap.c


More information about the cvs-src mailing list