Re: what replaces tq_scheduler in 2.4

From: Andrew Morton (akpm@zip.com.au)
Date: Tue Apr 30 2002 - 17:31:21 EST


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/



This archive was generated by hypermail 2b29 : Tue Apr 30 2002 - 22:00:20 EST