kernel - kqueue - major refactoring
commitccafe911a3aa55fd5262850ecfc5765cd31a56a2
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 3 Jan 2010 00:50:49 +0000 (2 16:50 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 3 Jan 2010 00:50:49 +0000 (2 16:50 -0800)
treee963138da29a38919283269c805cb2d8e754e655
parent10f6680a4f6684751aaae0965abfe140f19e9231
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.
sys/kern/kern_descrip.c
sys/kern/kern_event.c
sys/kern/vfs_aio.c
sys/sys/event.h
sys/sys/eventvar.h
sys/sys/file.h
sys/sys/filedesc.h