git: kernel - Implement segment pmap optimizations for x86-64 (3)

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Sep 13 11:40:59 PDT 2012


commit fb4ca0183366cda0c6df8282b88ada2fab64a3b1
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Sep 13 10:58:19 2012 -0700

    kernel - Implement segment pmap optimizations for x86-64 (3)
    
    * Fix pmap optimization bugs triggered by XORG (startx) and postgres/mmap
    
    * The simple-mode pmaps embedded in VM objects do not have the PML4 or PDP
      layer.  This caused pmap_scan() to miss pages, resulting in an assertion
      and panic during object frees if the objects were large enough.
    
    * Improve postgres 9.2/mmap, still more work to go.

Summary of changes:
 sys/cpu/x86_64/include/param.h  |    6 +
 sys/platform/pc64/x86_64/pmap.c |  264 ++++++++++++++++++++++++++-------------
 2 files changed, 183 insertions(+), 87 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list