Re: [PATCH] Run timers as softirqs, not tasklets

Ingo Molnar (mingo@elte.hu)
Sun, 17 Nov 2002 20:23:08 +0100 (CET)


On Sun, 17 Nov 2002, Matthew Wilcox wrote:

> Seems to me that the timer code is attempting to replicate the softirq
> characteristics at the tasklet level, which is a little pointless.
> This patch converts timers to be a first-class softirq citizen.

i agree with your patch.

> Ingo, was there a reason you didn't do it this way to begin with?

because there was an interim state of the timer code in where we still had
a global timer context (ie. a timer tasklet). Only later did it get
converted to completely unsynchronized per-CPU tasklets. Which indeed is
what softirqs are :-)

Ingo

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