git: kernel: Use pmap_invalidate functions

Francois Tigeot ftigeot at crater.dragonflybsd.org
Thu Jul 18 14:30:49 PDT 2013


commit 1d400425ec109ebc9cef3db6216b1ae5f98a3e59
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Thu Jul 18 23:23:36 2013 +0200

    kernel: Use pmap_invalidate functions
    
    * Matt's commit brutally used invltlb and wbinvd instructions
      everywhere
    
    * These are now contained in pmap_invalidate_range(), which will be
      optimized later
    
    * As a rule of thumb, functions where cache and tlb handling cause
      avoidable performance degradation are tagged with "XXX not optimal"

Summary of changes:
 sys/platform/pc64/x86_64/pmap.c | 30 ++++++++++++++++++++++++------
 1 file changed, 24 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1d400425ec109ebc9cef3db6216b1ae5f98a3e59


-- 
DragonFly BSD source repository



More information about the Commits mailing list