Re: splxxx level?
From: Sam (sah_at_softcardsystems.com)
Date: 08/30/04
- Previous message: M. Warner Losh: "Re: splxxx level?"
- In reply to: Scott Long: "Re: splxxx level?"
- Next in thread: M. Warner Losh: "Re: splxxx level?"
- Reply: M. Warner Losh: "Re: splxxx level?"
- Reply: Stephan Uphoff: "Re: splxxx level?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 30 Aug 2004 16:39:11 -0500 (EST) To: Scott Long <scottl@freebsd.org>
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
_______________________________________________
freebsd-arch@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: M. Warner Losh: "Re: splxxx level?"
- In reply to: Scott Long: "Re: splxxx level?"
- Next in thread: M. Warner Losh: "Re: splxxx level?"
- Reply: M. Warner Losh: "Re: splxxx level?"
- Reply: Stephan Uphoff: "Re: splxxx level?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|