Date: Tue, 29 Apr 2003 16:59:06 -0600 (MDT) From: "M. Warner Losh" <imp@bsdimp.com> To: nate@yogotech.com Cc: jhb@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/fxp if_fxp.c if_fxpvar.h Message-ID: <20030429.165906.94349439.imp@bsdimp.com> In-Reply-To: <16046.64504.186129.388342@emerger.yogotech.com> References: <16046.55840.945040.149302@grasshopper.cs.duke.edu> <XFMail.20030429165916.jhb@FreeBSD.org> <16046.64504.186129.388342@emerger.yogotech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <16046.64504.186129.388342@emerger.yogotech.com> Nate Williams <nate@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030429.165906.94349439.imp>