Re: what replaces tq_scheduler in 2.4

Andrew Morton
2002-04-30T22:32:37Z

Wanghong Yuan wrote:
>
> Hi,
>
> 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.

If you specifically have a need to know when the
scheduler is entered then there is no longer a way of
doing that.

-