Messages in this thread | | | Subject | Re: softint????? | From | Andi Kleen <> | Date | 28 Apr 1999 20:17:05 +0200 |
| |
ashok.raj@intel.com (Raj, Ashok) writes:
> Hello Linux Kernel Gurus... > > Could someone on the list say if there is a mechanism to schedule a > softint() like in solaris on linux, or an equivalent of > a DPC mechanism in NT ???
A bottom half?
#include <asm/softirq.h>
init_bh(YOUR_BH, your_bh_handler);
...
mark_bh(YOUR_BH);
then it'll be executed next time a system call or a interrupt returns. Bottom halves are atomic to each other, which eases locking, but makes scalability more difficult.
-Andi -- This is like TV. I don't like TV.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |