git: kernel - Preliminary vm_page hash lookup

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Mar 26 22:32:06 PDT 2019


commit 70f3bb08d2f3591da58cfd610bc1fd7ba862256f
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Mar 23 11:37:36 2019 -0700

    kernel - Preliminary vm_page hash lookup
    
    * Add preliminary vm_page hash lookup code which avoids most
      locks, plus support in vm_fault.  Default disabled, with debugging
      for now.
    
    * This code still soft-busies the vm_page, which is an improvement over
      hard-busying it in that it won't contend, but we will eventually want
      to entirely avoid all atomic ops on the vm_page to *really* get the
      concurrent fault performance.

Summary of changes:
 sys/vm/vm_fault.c | 139 +++++++++++++++++++++++++++++++++++++++++++++++++++---
 sys/vm/vm_map.h   |   2 +
 sys/vm/vm_page.c  |  85 ++++++++++++++++++++++++++++++++-
 sys/vm/vm_page.h  |   3 ++
 4 files changed, 222 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/70f3bb08d2f3591da58cfd610bc1fd7ba862256f


-- 
DragonFly BSD source repository



More information about the Commits mailing list