[PATCH] ppc64: Spread lpevents by default on iSeries

Michael Ellerman michael at ellerman.id.au
Wed Jun 22 15:42:37 EST 2005


On Wed, 22 Jun 2005 15:08, David Gibson wrote:
> 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.

Sounds reasonable, I'll have a look at the code.

cheers

-- 
Michael Ellerman
IBM OzLabs

email: michael:ellerman.id.au
inmsg: mpe:jabber.org
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20050622/286361f5/attachment.pgp 


More information about the Linuxppc64-dev mailing list