git: kernel - Incidental MPLOCK removal

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Jan 11 10:49:40 PST 2017


commit 282f31945bc734def8c8d3c04ee7d57e25bdc77a
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Jan 11 09:47:56 2017 -0800

    kernel - Incidental MPLOCK removal
    
    * Remove misc #include <sys/mplock2.h> statements that are no longer needed.
    
    * Replace mplock with acct_lock in kern_acct.c
    
    * Replace mplock with msg_token in sysv_msg.c
    
    * Replace mplock with p->p_token in the profiling code.

Summary of changes:
 sys/kern/kern_acct.c         | 33 +++++++++++++++++++++++----------
 sys/kern/kern_acl.c          |  2 --
 sys/kern/kern_clock.c        |  3 ++-
 sys/kern/kern_ktrace.c       |  7 +++----
 sys/kern/kern_proc.c         |  1 -
 sys/kern/kern_sensors.c      |  2 --
 sys/kern/kern_sysctl.c       |  2 --
 sys/kern/lwkt_thread.c       |  1 -
 sys/kern/subr_diskiocom.c    |  1 -
 sys/kern/subr_eventhandler.c |  2 --
 sys/kern/subr_input.c        |  1 -
 sys/kern/subr_prof.c         |  6 +++---
 sys/kern/sys_generic.c       |  1 -
 sys/kern/sysv_msg.c          | 22 ++++++++++------------
 sys/kern/vfs_bio.c           |  1 -
 sys/kern/vfs_cache.c         |  1 -
 16 files changed, 41 insertions(+), 45 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/282f31945bc734def8c8d3c04ee7d57e25bdc77a


-- 
DragonFly BSD source repository



More information about the Commits mailing list