[PATCH 1/6] pseries: avoid excess rtas calls

Linas Vepstas linas at austin.ibm.com
Thu Aug 9 08:20:11 EST 2007


On Wed, Aug 08, 2007 at 04:57:39PM -0500, Nathan Lynch wrote:
> Linas Vepstas wrote:
> > 
> > We don't need to look up the rtas event token once per 
> > cpu per second. This avoids some misc string ops and 
> > rtas calls and provides some minor performance improvement.
> 
> It does not avoid any calls to RTAS.  (rtas_token merely looks up
> properties under the /rtas node.)

Right. I'd vaguely known but forgotten that of_get_property didn't 
actually turn into an rtas call.

> Otherwise, looks okay.

Should I resubmit with modified commit message, or does anyone care?

--linas



More information about the Linuxppc-dev mailing list