splxxx level?
From: Sam (sah_at_softcardsystems.com)
Date: 08/30/04
- Previous message: Doug White: "Re: Documentation"
- Next in thread: Scott Long: "Re: splxxx level?"
- Reply: Scott Long: "Re: splxxx level?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 30 Aug 2004 10:48:11 -0500 (EST) To: freebsd-arch@freebsd.org
Hello -
I'm almost to testing on my AoE driver for 4.x and have
a question about interrupt priority levels.
There are currently three entry points into the driver:
a) strategy routine
b) network frame reception routine
c) timer rexmit routine
Any of the three can diddle with the device structure
and thusly I need to ensure they're not running simultaneously.
For example, the network reception can cause a buf to be completed
and the rexmit timer can cause a buf to be failed.
So, what kind of contexts are the callout, strategy, and
network soft interrupt called in? Which splxxx will give
one of them exclusive access to whatever they need?
Just as a reality check -- I am thinking about this correct, right?
Cheers,
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: Doug White: "Re: Documentation"
- Next in thread: Scott Long: "Re: splxxx level?"
- Reply: Scott Long: "Re: splxxx level?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]