Date: Mon, 30 Aug 2004 16:39:11 -0500 (EST) From: Sam <sah@softcardsystems.com> To: Scott Long <scottl@freebsd.org> Cc: freebsd-arch@freebsd.org Subject: Re: splxxx level? Message-ID: <Pine.LNX.4.60.0408301548440.4347@athena> In-Reply-To: <41336DC8.7080808@freebsd.org> References: <20040830.102606.130865377.imp@bsdimp.com> <20040830.111428.56562495.imp@bsdimp.com> <4133682D.3000403@freebsd.org> <20040830.120124.28086427.imp@bsdimp.com> <41336DC8.7080808@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Wow guys, this is great stuff, thanks! Here's what I've discovered so far and again, correct me if I'm wrong. In strategy, I need to protect from my callout and netisr running. In my netisr, I need to protect from my callout running. In my callout, I need to protect from my netisr running. It looks like I can use splnet() everywhere *except* where I'm pulling mbufs off of the mbuf queue in the netisr routine. There I'll have to use splimp() to keep from banging heads with the hardware. I think this is the optimum spl-ing as it will allow the network hardware to keep queueing up packets as I process them. Comments? Sam
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.60.0408301548440.4347>