kernel - Count only non-spurious events in main kevent loop
authorSamuel J. Greear <sjg@thesjg.com>
Fri, 23 Jul 2010 13:00:28 +0000 (13:00 +0000)
committerSamuel J. Greear <sjg@thesjg.com>
Fri, 23 Jul 2010 13:00:28 +0000 (13:00 +0000)
commit21ae0f4cfc832379591734bebfb53ae170b3b1e9
tree30e1573b8d5d423fef00f41d43fbe2a73b8ae769
parented7427803c01f7cbb86cf42ce9e40aa94710a794
kernel - Count only non-spurious events in main kevent loop

* Add a couple of debug fields to kern.nseldebug kprintf's

* The main kevent loop is effectively event driven until it has processed the
  maximum number of events it is allowed to return. Spurious events counted
  toward this total, resulting in no events being returned if the number of
  spurious events processed reached the total.
sys/kern/kern_event.c
sys/kern/sys_generic.c