convert timeout(9) to callout(9)

Recently, I've been getting myself more familiar with the FreeBSD kernel internals, and some new features brought along with FreeBSD 7 (and 8-CURRENT, which I typically run). I've been picking at the kernel sources to convert places where timeout(9) is used into callout(9) implementations of the same logic. This should remove extra use of the Giant-lock and improve concurrency in the long-run. Most recently, I have converted the if_ndis device to use the new callout(9) API. If you're running -CURRENT and use the NDISulator, I would ask that you give it a try and email a report back to me of how well it works (or doesn't) for you.

I put together a page for the work here: callout-conversion

Discussion

YTWJX
 
blog/2007/convert_timeout_9_to_callout_9.txt · Last modified: 2008-04-15 by cokane
 
Recent changes RSS feed