Re: what replaces tq_scheduler in 2.4

Wanghong Yuan
2002-05-03T00:13:20Z

HI, Ingo

Did you get the answer? Please cc me

> Hi Andrew,
> hi others,
>
> On Tue, Apr 30, 2002 at 03:31:21PM -0700, Andrew Morton wrote:
> > Wanghong Yuan wrote:
> > > It seems that tq_scheduler disappears in Linux 2.4. SO what can I do
if I
> > > need to do something when the scheduler wakes up. The old code likes
> > >
> >
> > All users of tq_scheduler were using it as a way of running
> > process-context code shortly after the occurrence of an
> > interrupt. They were moved over to using schedule_task().
> > Probably, that is what you want.
>
> What is the main difference between tq_immediate and the former
> tq_scheduler?
>
> I would like to know, whether I can convert my old bh routines[1] to
> that new mechanism.
>
> Thanks & Regards
>
> Ingo Oeser
>
> [1] Note to German readers: I mean interrupt backends! Nothing
> else :-)
> --
> Science is what we can tell a computer. Art is everything else. ---
D.E.Knuth
> -
> 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/
>