git: ig4 - Use serializer instead of lockmgr lock.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Sat Aug 18 11:29:46 PDT 2018


commit ab1e5d7f1c9718cc7eb60cdc9299231cb9933a04
Author: Imre Vadász <imre at vdsz.com>
Date:   Sat Aug 18 12:49:40 2018 +0200

    ig4 - Use serializer instead of lockmgr lock.
    
    * This allows us to use lwkt_serialize_handler_disable when stopping the
      interrupt, which should be safer in case of detaching during an interrupt
      storm.

Summary of changes:
 sys/bus/smbus/ichiic/ig4_acpi.c |  7 ++--
 sys/bus/smbus/ichiic/ig4_iic.c  | 75 ++++++++++++++++++++---------------------
 sys/bus/smbus/ichiic/ig4_pci.c  |  6 ++--
 sys/bus/smbus/ichiic/ig4_var.h  |  2 +-
 4 files changed, 41 insertions(+), 49 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list