This page contains content and code pertaining to the 2010 Google Summer of Code project for DragonFly BSD being undertaken by Samuel J. Greear.
To get some background on what the project is all about see the Proposal.
Stage 3 was brief and was all about Poll and Epoll
Stage 4 is about adding kqueue support to all of the kernel devices which lack it, but currently support the polling interface. see KQ Devices for the status of this work.
Stage 5 has been the removal of all polling interface code, including all usage of Selrecord/Selwakeup.
A number of Bugs have surfaced and had to be tracked down during this time.
Stage 6 has involved adding a single global token around the kqueue subsystem. This eliminates usage of critical sections and the giant lock. See Locking strategy – What still remains is to make yet another pass through all kqueue filter functions and determine if they are properly locking the subsystems they touch and fixing them or adding an acquisition of the mplock as necessary. For more information on the current state of MPSAFEty and future direction in this regard, see Locking strategy 2, pcpu.
Stage 7 was planned to involve determining if there is a waiting/listening thread or process for a listen socket on more than one or all cpu’s and making an effort to wake up the listener who will have the fastest access to the socket buffers. See Selective wakeup for more details.
Finally, the results of various application benchmarks: Apachebench