git: kernel - Incidental MPLOCK removal (non-performance)

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jan 9 14:41:23 PST 2017


commit 481d12aa0b705189346ef8bf87af833f12599914
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Jan 9 13:54:05 2017 -0800

    kernel - Incidental MPLOCK removal (non-performance)
    
    * Remove the MPLOCK in a ton of places that don't need it or can be
      trivially tokenized or locked.
    
    * Mostly non-performance adjustments, though the X server does use
      scmouse or sysmouse.

Summary of changes:
 sys/bus/pci/pci_user.c                |  6 +++++-
 sys/dev/disk/md/md.c                  | 23 ++++++++++++++++++-----
 sys/dev/misc/cpuctl/cpuctl.c          |  8 +++++++-
 sys/dev/misc/efirt/efidev.c           |  8 +++++++-
 sys/dev/misc/kbd/kbd.c                |  2 +-
 sys/dev/misc/led/led.c                |  2 +-
 sys/dev/misc/syscons/scmouse.c        | 31 ++++++++++++++++---------------
 sys/dev/misc/syscons/syscons.c        |  2 +-
 sys/dev/misc/syscons/sysmouse.c       |  2 +-
 sys/dev/serial/sio/sio.c              |  3 ++-
 sys/dev/sound/pcm/mixer.c             |  2 +-
 sys/dev/sound/pcm/sndstat.c           |  2 +-
 sys/kern/kern_udev.c                  |  3 ++-
 sys/kern/subr_bus.c                   | 32 +++++++++++++++++++++++++-------
 sys/kern/tty_cons.c                   |  4 ++--
 sys/kern/tty_tty.c                    | 12 +++++++-----
 sys/platform/pc64/x86_64/vm_machdep.c |  2 +-
 sys/vfs/nfs/nfs_subs.c                |  2 +-
 18 files changed, 99 insertions(+), 47 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/481d12aa0b705189346ef8bf87af833f12599914


-- 
DragonFly BSD source repository



More information about the Commits mailing list