git: kernel - Allow VM_FAULT_DIRTY to use a shared lock

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Jan 25 11:20:30 PST 2017


commit ceb0e493cb08475ce07ea2617ddb66b9b8479e37
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Jan 25 08:11:57 2017 -0800

    kernel - Allow VM_FAULT_DIRTY to use a shared lock
    
    * Allows VM_FAULT_DIRTY (write) faults to use a shared object lock as
      long as the evnetual page does not need to be unswapped.
    
    * More than doubles vkernel performance when doing a parallel make
      by removing a major contention spot.

Summary of changes:
 sys/vm/vm_fault.c | 55 ++++++++++++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 48 insertions(+), 7 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list