kernel - Close big race in kqueue
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 24 Sep 2010 15:44:20 +0000 (08:44 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 24 Sep 2010 15:44:20 +0000 (08:44 -0700)
commit03467bf96c8ea94f7756c381cc46aab2f5027657
treec2a9373672d085c76d5fed61c37bca8fc3c2fa7b
parentb79f66dd1696748e7421f31d2d8e68ce3bdbcd3a
kernel - Close big race in kqueue

* Refactor the KN_PROCESSING abstraction.  Remove shortcuts and use it
  in ALL knote-handling situations.  One place in the EV_DELETE handling
  was broken and one or two other places were not handling REPROCESS
  requests properly.

* Overnight buildworld -j 8 now succeeds with NFS mounted /usr/src.  It
  used to panic after a few runs with a kqueue-related assertion.
sys/kern/kern_event.c