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

看板DFBSD_commit作者時間15年前 (2010/07/23 21:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1CIPdUUh (DFBSD_commit)