Re: userspace irq balancer

Andrea Arcangeli
2003-05-27T02:02:07Z

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