[PATCH] ppc64: Spread lpevents by default on iSeries

David Gibson david at gibson.dropbear.id.au
Wed Jun 22 15:08:55 EST 2005


On Wed, Jun 22, 2005 at 02:58:06PM +1000, Michael Ellerman wrote:
> This patch changes the macros that initialise the paca array on iSeries,
> such that every CPU processes lpevents by default. This makes the default
> behaviour equivalent to specifying "spread_lpevents=n" on the kernel
> command line, where n = number of cpus.
> 
> The spread_lpevents command line option remains in case people want the
> old behaviour.

I think a better way of accomplishing this would be to actually remove
the lpqueue field from the paca, and reference xItLpQueue directly
where we use it.  We can check the cpu number explicitly against a
limit if we want to avoid spreading lp events.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/people/dgibson



More information about the Linuxppc64-dev mailing list