cvs commit: src/sys/dev/fxp if_fxp.c if_fxpvar.h

M. Warner Losh imp at bsdimp.com
Tue Apr 29 15:59:20 PDT 2003


In message: <16046.64504.186129.388342 at emerger.yogotech.com>
            Nate Williams <nate at yogotech.com> writes:
: > A mutex is far more expensive than an spl.
: 
: Huh?  If so, then something is *really* screwed up, since SPL's block
: out lots of things, while mutex's can/should block little things.
: 
: That's how we get greater parrallelism.

A mutex is more expensive to take out, but blocks fewer things.
splfoo() is a lot faster to execute, but does block a lot of other
things.

Warner


More information about the cvs-src mailing list