Network Stack Locking

Robert Watson rwatson at freebsd.org
Wed May 26 14:30:42 PDT 2004


On Tue, 25 May 2004, Julian Elischer wrote:

> This is how netgraph works.  (particularly in 5.x) 

It's also worth pointing out, for those looking at various approaches,
that NetBSD is currently discussing continuation primitives on the
tech-kern mailing list (I seem to have gotten added to the CC line lately,
which I don't object to :-).

You can also argue that things like bio's, PCB's, et al, are
implementations of the continuation philosophy, just lacking a abstracted
primitive.  They maintain state to be picked up by a context but
discarding the stack.  Callouts and callbacks are used to perform
scheduling, however, rather than the scheduler explicitly. 

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert at fledge.watson.org      Senior Research Scientist, McAfee Research




More information about the freebsd-arch mailing list