git: kernel - Count only non-spurious events in main kevent loop
Samuel Greear
sjg at crater.dragonflybsd.org
Fri Jul 23 06:05:14 PDT 2010
commit 21ae0f4cfc832379591734bebfb53ae170b3b1e9
Author: Samuel J. Greear <sjg at thesjg.com>
Date: Fri Jul 23 13:00:28 2010 +0000
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.
Summary of changes:
sys/kern/kern_event.c | 4 +++-
sys/kern/sys_generic.c | 12 +++++++-----
2 files changed, 10 insertions(+), 6 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/21ae0f4cfc832379591734bebfb53ae170b3b1e9
--
DragonFly BSD source repository
More information about the Commits
mailing list