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

git: kernel - kqueue - major refactoring


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 2 Jan 2010 22:12:47 -0800 (PST)

commit ccafe911a3aa55fd5262850ecfc5765cd31a56a2
Author: Matthew Dillon <dillon@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



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