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

Dipankar Sarma (dipankar@gamebox.net)
Mon, 18 Nov 2002 00:16:40 +0530


On Sun, Nov 17, 2002 at 06:20:11PM +0100, 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.
>
> Ingo, was there a reason you didn't do it this way to begin with?
>

I wrote that part of smptimers to run the per-CPU lists from per-CPU
tasklets while porting Ingo's code to 2.5 and Ingo just included it.
At that time, it didn't seem necessary to use up a softirq vector
when it could be easily done using tasklets.

However it should work fine with softirqs too.

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