git: kernel - Improve vm_page_register_action*() performance.

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Jan 22 15:32:17 PST 2017


commit c183e2fc80ff69a74ca41df3dfb822cb38c98f93
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Jan 22 15:28:05 2017 -0800

    kernel - Improve vm_page_register_action*() performance.
    
    * Improve the performance for vm_page_register_action() and related
      routines by splitting the global lock into per-hash-index locks.
      Also change from a token to lockmgr locks.
    
    * Shift some code around in umtx_sleep() so the tsleep_interlock()
      occurs after the registration code to avoid interference with
      the new lockmgr() operations in the registration code.

Summary of changes:
 sys/kern/kern_umtx.c | 29 ++++++++++++++----------
 sys/vm/vm_page.c     | 62 ++++++++++++++++++++++++++++------------------------
 2 files changed, 52 insertions(+), 39 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list