Re: [PATCH] [IMPORTANT] Re: 2.4.7 softirq incorrectness.

Andrea Arcangeli (andrea@suse.de)
Sat, 28 Jul 2001 21:32:42 +0200


On Sat, Jul 28, 2001 at 11:02:07PM +0400, kuznet@ms2.inr.ac.ru wrote:
> F.e. Andrea, teach me how to make the following thing (not for released
> kernel, for me): I want to schedule softirq, but I do not want that
> this softirq eat all the cpu. It looks natural to use ksoftirqd for this.

yes, ksoftirqd should just avoid you to eat all the cpu even if you keep
posting the softirq all the time. ksoftirqd is reniced at +20 so it
should be pretty nice with the other tasks in the system.

If you want to delay the softirq and run it at a low frequency then you
should use a timer or another functionality (the softirq is required to
run ASAP always).

I hope I didn't misunderstood the question in such case please correct
me.

Andrea

PS. I will be offline shortly so I may not be able to answer further
emails until Monday.
-
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/