Re: tasklets (2.3.x) question

From: kuznet@ms2.inr.ac.ru
Date: Tue Mar 21 2000 - 13:15:09 EST


Hello!

> However, it seems many drivers seem to still use BHs (immediate, or their
> own). Is this because they just haven't moved to tasklets?

Yes. It is not so direct task. BHs are globally serialized on SMP
(i.e. only one BH can run at any moment); tasklets are not.
F.e. driver, using BHs, was allowed not to be bothered that
a timer can run simultaneously with its BH. So, drivers require auditing.

> Or is it that
> tasklets are reserved for special use?

No.

> Can an interrupt handler safely
> call tasklet_schedule()?

Yes. It can be called from any context.

Alexey

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:33 EST