commit f57dbfa8fd2beb4db6bb5d16c73d3d5aea3ac6be
Author: Matthew Dillon <[email protected]>
Date:   Fri Oct 26 18:17:36 2018 -0700

    kernel - Refactor kbmux arrays
    
    * Get rid of the generally insane dynamic reallocation code for
      these tiny arrays and set a fixed limit of 16 keyboards.
    
    * Add a sanity check in kbd_intr() to deal with potential interrupt
      races against installation of a new keyboard.

Summary of changes:
 sys/dev/misc/kbd/kbd.c       | 60 +++++++++-----------------------------------
 sys/dev/misc/kbd/kbdreg.h    |  4 ++-
 sys/dev/misc/kbd/kbdsw.c     | 17 ++++++++++---
 sys/dev/misc/kbdmux/kbdmux.c | 10 ++++++--
 4 files changed, 37 insertions(+), 54 deletions(-)

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


-- 
DragonFly BSD source repository

Reply via email to