Re: what replaces tq_scheduler in 2.4

Andrew Morton (akpm@zip.com.au)
Tue, 30 Apr 2002 15:31:21 -0700


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.

-
-
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/