lkml.org 
[lkml]   [1999]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: softint?????
From
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.035 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site