git: kernel - Move vm_page spin locks from pool to vm_page structure

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Jan 8 14:08:15 PST 2017


commit 6ba5daf8378e11a95743819b3b18725be74a10fc
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Jan 8 10:03:40 2017 -0800

    kernel - Move vm_page spin locks from pool to vm_page structure
    
    * Move the vm_page spin lock from a pool to per-structure.  This does bloat
      the vm_page structure, but clears up an area of contention under heavy
      VM loads.

Summary of changes:
 sys/kern/kern_spinlock.c | 46 ----------------------------------------------
 sys/sys/spinlock2.h      |  9 ---------
 sys/vm/device_pager.c    |  2 ++
 sys/vm/vm_page.c         | 20 +++++++++++++++++---
 sys/vm/vm_page.h         |  4 ++++
 sys/vm/vm_page2.h        |  4 ++--
 6 files changed, 25 insertions(+), 60 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6ba5daf8378e11a95743819b3b18725be74a10fc


-- 
DragonFly BSD source repository



More information about the Commits mailing list