git: kernel - Correct edge-case for machdep.pmap_mmu_optimize

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Dec 27 21:44:44 PST 2013


commit a44410dd8663abb121417692995d3b365f32fd6e
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Dec 27 21:33:39 2013 -0800

    kernel - Correct edge-case for machdep.pmap_mmu_optimize
    
    * machdep.pmap_mmu_optimize defaults to disabled and is still highly
      experimental.
    
    * Fix an edge case where the segment optimization was incorrectly being
      allowed for the segment straddling the end of the mapping, when the
      end was not segment-aligned.
    
    * Fixes an endless loop which can occur with the following test case
      (only when machdep.pmap_mmu_optimize is enabled).
    
    	rm /var/db/pkg/repo-*
    	pkg update

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a44410dd8663abb121417692995d3b365f32fd6e


-- 
DragonFly BSD source repository



More information about the Commits mailing list