git: kqueue: Use critical section for knote cache

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Thu Apr 14 05:53:51 PDT 2016


commit 7a528cd4288465e314f4303843c069fd6c5ea6ac
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Thu Apr 14 20:45:39 2016 +0800

    kqueue: Use critical section for knote cache
    
    So knote_free() can be triggered from interrupt threads safely.
    
    Suggested-by: dillon@

Summary of changes:
 sys/kern/kern_event.c | 7 +++++++
 1 file changed, 7 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7a528cd4288465e314f4303843c069fd6c5ea6ac


-- 
DragonFly BSD source repository



More information about the Commits mailing list