Date: Fri, 4 Mar 2005 08:08:09 -0800 From: Luigi Rizzo <rizzo@icir.org> To: dima <_pppp@mail.ru> Cc: net@freebsd.org Subject: Re: Polling objectives (was Re: Giant-free polling [PATCH]) Message-ID: <20050304080809.A4180@xorpc.icir.org> In-Reply-To: <E1D7Cv5-0004mV-00._pppp-mail-ru@f22.mail.ru>; from _pppp@mail.ru on Fri, Mar 04, 2005 at 04:32:43PM %2B0300 References: <20050304025942.E134@xorpc.icir.org> <E1D7Cv5-0004mV-00._pppp-mail-ru@f22.mail.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 04, 2005 at 04:32:43PM +0300, dima wrote: ... > PS: my question about locking in ether_poll_register() is still actual. I think pr[] should be protected by sx while adding a new handler. ether_poll_register() was called by *foo_intr() so in 4.x it was protected by splimp() or Giant. It is likely that now, with drivers being no more under a single lock, you need to protect it as well with a private lock. cheers luigi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050304080809.A4180>