Re: userspace irq balancer

Andrea Arcangeli (andrea@suse.de)
Tue, 27 May 2003 04:15:13 +0200


On Mon, May 26, 2003 at 06:59:20PM -0700, Andrew Morton wrote:
> William Lee Irwin III <wli@holomorphy.com> wrote:
> >
> > In
> > the userspace implementation the reprogramming is done infrequently
> > enough to make even significant cost negligible; in-kernel the cost
> > is entirely uncontrolled and the rate of reprogramming unlimited.
>
> eh?
>
> #define MAX_BALANCED_IRQ_INTERVAL (5*HZ)
> #define MIN_BALANCED_IRQ_INTERVAL (HZ/2)

Yep.

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