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

From: Anders Peter Fugmann (afu@fugmann.dhs.org)
Date: Mon Aug 20 2001 - 16:05:52 EST


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/



This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:37 EST