git: taskq - Make consumer tasks MPALMOSTSAFE

Alex Hornung alexh at crater.dragonflybsd.org
Fri Oct 2 12:02:27 PDT 2009


commit 227ce8287dc31bb516ae257038abf06b802bbd2c
Author: Alex Hornung <ahornung at gmail.com>
Date:   Fri Oct 2 18:49:50 2009 +0100

    taskq - Make consumer tasks MPALMOSTSAFE
    
    * All consumers of taskqueue_thread[cpu] have to be at least
      MPALMOSTSAFE as they won't be called with the mplock held.

Summary of changes:
 sys/bus/cam/cam_xpt.c      |    4 ++++
 sys/bus/cam/scsi/scsi_cd.c |    7 ++++++-
 sys/bus/cam/scsi/scsi_da.c |    7 ++++++-
 sys/kern/kern_exit.c       |    2 ++
 4 files changed, 18 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/227ce8287dc31bb516ae257038abf06b802bbd2c


-- 
DragonFly BSD source repository





More information about the Commits mailing list