Abolish per-CPU RTAS args

David Gibson david at gibson.dropbear.id.au
Tue Jun 22 10:33:30 EST 2004


On Mon, Jun 21, 2004 at 11:39:04PM +1000, Anton Blanchard wrote:
>
> Hi David,
>
> > Currently we store RTAS arguments in the PACA.  The args have to be in
> > the RMO, but since we have a global spinlock for RTAS anyway, there's
> > no reason to have a separate copy of the args per-CPU.  This patch
> > replaces the PACA field with a single instance in the global rtas
> > structure.
>
> I like it :) Any plans to merge your paca cleanup too?

So will you push it, or should I?  I shoud perhaps mention that it
hasn't yet been tested on machine that actually has hotplug CPU...

I do plan to merge the paca cleanup at some point.  This change lets
me make the PACA cleanup more extensive, and get rid of some of the
remaining cruft.

--
David Gibson			| For every complex problem there is a
david AT gibson.dropbear.id.au	| solution which is simple, neat and
				| wrong.
http://www.ozlabs.org/people/dgibson

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list