Re: Looking for comments on Bottom-Half/Tasklet/SoftIRQ

Anders Peter Fugmann (afu@fugmann.dhs.org)
Mon, 20 Aug 2001 23:05:52 +0200


george anzinger wrote:
>
> A simple example is the ../kernel/timer.c code. The "run_task_list()"
> function is called from a tasklet. "do_timer()" is called from
> interrupt and "mark_bh(TIMER_BH)" puts the tasklet in the queue.
> "timer_bh()" (old names die hard) is the tasklet.
>
mark_bh is the use of old BH's.
You want to use tasklet_schedule if a tasklet should be sheduled.
(_not_ tasklet_hi_schedule, those are the BH's)

Regards
Anders Fugmann

> George
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/