Re: [PATCH] per-arch load balancing

Christoph Hellwig (hch@infradead.org)
Mon, 26 Aug 2002 21:11:59 +0100


On Mon, Aug 26, 2002 at 04:04:43PM -0400, Robert Love wrote:
> Linus,
>
> The attached patch implements (optional) per-architecture load balancing
> so we can cleanly implement specialized load balancing behavior for
> NUMA, hyperthreading, etc.
>
> The new method is "arch_load_balance()" and is defined (if available) in
> asm/smp_balance.h - otherwise it defines away. Currently, we call it
> from "find_busiest_queue()".

Can we have a asm/sched.h instead? especially if we might add additional
per-arch scheduler bits. Also I think a asm-generic version is better than
linux/smp_balance.h + the ARCH_HAS_SMP_BALANCE hack. I'd prefer if you
would move the #include ontop ot sched.c, too - includes in the middle of
a file are really messy.

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