Date: Fri, 6 Jun 2003 00:17:20 -0700 (PDT) From: Julian Elischer <julian@elischer.org> To: Vincent Jardin <vjardin@wanadoo.fr> Cc: freebsd-net@freebsd.org Subject: Re: Does Netgraph in FBSD 5.x SMP requires GIANT lock? Message-ID: <Pine.BSF.4.21.0306060011050.80038-100000@InterJet.elischer.org> In-Reply-To: <200306060851.30777.vjardin@wanadoo.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 6 Jun 2003, Vincent Jardin wrote: > > > > it should not require Giant. > > However there are some locking 'holes' that come when locked resources > > are accessed by external code that is executed from other contexts.. > > e.g. many drivers do not know about the locks in their netgraph half, > > and just 'do' what they want. Also there are instances of callout > > (timeout) code doing things to a node without getting teh node's lock. > > > > What's about ng_l2tp ? > The BSD's callout functions are used instead of the Netgraph's > ng_[un]timeout functions. Basically they and others.. but the ng_timeout() functions are still not the complete solution (yet). they are not even used yet.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0306060011050.80038-100000>