git: taskqueue: Fix taskqueue locking issues

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Thu Sep 10 08:12:49 PDT 2015


commit 17f03079c7c24903bf3f92645d8f7298152a14d2
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Thu Sep 10 23:10:05 2015 +0800

    taskqueue: Fix taskqueue locking issues
    
    - wakeup/wakeup_one should be called w/o spinlock (taskqueue lock).
    - Callout needs to lock taskqueue before calling taskqueue_enqueue_locked.

Summary of changes:
 sys/kern/subr_taskqueue.c | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/17f03079c7c24903bf3f92645d8f7298152a14d2


-- 
DragonFly BSD source repository


More information about the Commits mailing list