git: kernel - Major mtx lock cleanup

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Mar 22 20:31:05 PDT 2015


commit cabfc9f6989fa1e4dbccc61162309bd2ec6891c9
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Mar 22 20:23:52 2015 -0700

    kernel - Major mtx lock cleanup
    
    * Integrate the ident into the mtx structure, remove the ident parameter from
      all locking calls.
    
    * Rename some of the functions, shortening them.
    
    * Add a few new functions which hammer2 will use.

Summary of changes:
 sys/dev/disk/iscsi/initiator/isc_sm.c   | 10 ++---
 sys/dev/disk/iscsi/initiator/iscsivar.h |  2 +-
 sys/dev/drm/drm_vm.c                    |  2 +-
 sys/dev/misc/syscons/syscons.c          |  2 +-
 sys/emulation/ndis/subr_ntoskrnl.c      |  4 +-
 sys/kern/kern_mutex.c                   | 43 +++++++++----------
 sys/kern/kern_synch.c                   |  2 +-
 sys/libprop/prop_object_impl.h          |  2 +-
 sys/net/if.c                            |  2 +-
 sys/netinet6/nd6.c                      |  2 +-
 sys/sys/mutex.h                         | 26 ++++++------
 sys/sys/mutex2.h                        | 73 ++++++++++++++++++++++++---------
 sys/vfs/nfs/nfs_socket.c                |  5 +--
 sys/vfs/nfs/nfs_syscalls.c              |  4 +-
 sys/vfs/nfs/nfs_vfsops.c                |  4 +-
 sys/vm/device_pager.c                   |  2 +-
 sys/vm/vm_swap.c                        |  2 +-
 17 files changed, 107 insertions(+), 80 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list