Re: what replaces tq_scheduler in 2.4

Andrew Morton
2002-05-03T18:02:23Z

Ingo Oeser wrote:
>
> ...
> What is the main difference between tq_immediate and the former
> tq_scheduler?

tq_immediate looks to be some very old piece of kernel infrastructure
which is somewhat obsolete but all the users have not been converted
to yet. May run in interrupt context.

tq_scheduler callbacks run in process context. Use schedule_task()
instead.

These mechanisms are discussed in the Rubini/Corbet bible: