Re: splxxx level?

From: Sam (sah_at_softcardsystems.com)
Date: 08/30/04

  • Next message: M. Warner Losh: "Re: splxxx level?"
    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"


  • Next message: M. Warner Losh: "Re: splxxx level?"

    Relevant Pages

    • Re: splxxx level?
      ... protect from my callout running. ... I need to protect from my netisr running. ... the network hardware to keep queueing up packets as I ...
      (freebsd-arch)
    • Re: splxxx level?
      ... I vaguely recall seeing that vinum issues ... > protect from my callout running. ... > I need to protect from my netisr running. ...
      (freebsd-arch)