cvs commit: src/sys/platform/pc32/i386 pmap.c src/sys/platform/pc32/include pmap.h

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Jun 7 17:57:35 PDT 2007


dillon      2007/06/07 17:57:04 PDT

DragonFly src repository

  Modified files:
    sys/platform/pc32/i386 pmap.c 
    sys/platform/pc32/include pmap.h 
  Log:
  Remove the last source of SMP TLB invalidations in the critical code path
  for fork/exec/exit/wait sequences.  The pmap page directory is now left
  cached in kernel memory until the pmap is destroyed via the objcache
  dtor function for VM spaces (vmspace_dtor() -> pmap_puninit()).
  
  This improves fork/exec performance and significantly reduces the IPI
  messaging load and other cross-cpu interactions.
  
  Revision  Changes    Path
  1.79      +48 -26    src/sys/platform/pc32/i386/pmap.c
  1.7       +1 -1      src/sys/platform/pc32/include/pmap.h


http://www.dragonflybsd.org/cvsweb/src/sys/platform/pc32/i386/pmap.c.diff?r1=1.78&r2=1.79&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/pc32/include/pmap.h.diff?r1=1.6&r2=1.7&f=u





More information about the Commits mailing list