git: kernel - kqueue - major refactoring
Matthew Dillon
dillon at crater.dragonflybsd.org
Sat Jan 2 22:14:04 PST 2010
commit ccafe911a3aa55fd5262850ecfc5765cd31a56a2
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Sat Jan 2 16:50:49 2010 -0800
kernel - kqueue - major refactoring
* Move filedesc->fd_knhashmask/kn_knhash to kqueue->kq_knhashmask/kq_knhash.
* Remove filedesc->fd_knlistsize/fd_knlist, replace with a per file pointer
list.
* Partition the kqueue code such that independent kqueues can be created
without being associated with a file pointer or descriptor.
Summary of changes:
sys/kern/kern_descrip.c | 32 ++-----
sys/kern/kern_event.c | 227 ++++++++++++++++++++++++-----------------------
sys/kern/vfs_aio.c | 5 +-
sys/sys/event.h | 13 ++-
sys/sys/eventvar.h | 7 ++-
sys/sys/file.h | 4 +
sys/sys/filedesc.h | 5 -
7 files changed, 144 insertions(+), 149 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ccafe911a3aa55fd5262850ecfc5765cd31a56a2
--
DragonFly BSD source repository
More information about the Commits
mailing list