git: kernel - close more kqueue MP races

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Aug 22 00:45:02 PDT 2010


commit 853fe8da43a7630f75dbff7e9abf17fe8b2e36c3
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Aug 22 00:42:17 2010 -0700

    kernel - close more kqueue MP races
    
    * Leave the KN_QUEUED flag set while processing a knote in kern_kevent().
      The flag prevents the knote from being requeued while blocked in the
      filter function.
    
      Document this requirement.
    
    * Use kq_token in a few more places

Summary of changes:
 sys/kern/kern_event.c |   35 +++++++++++++++++++++++++----------
 1 files changed, 25 insertions(+), 10 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/853fe8da43a7630f75dbff7e9abf17fe8b2e36c3


-- 
DragonFly BSD source repository





More information about the Commits mailing list