DragonFly BSD
DragonFly commits List (threaded) for 2010-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - Count only non-spurious events in main kevent loop


From: Samuel Greear <sjg@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 23 Jul 2010 06:03:54 -0700 (PDT)

commit 21ae0f4cfc832379591734bebfb53ae170b3b1e9
Author: Samuel J. Greear <sjg@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]