[RFC] patch to allow world readable /proc/ppc64/lparcfg

Wim Coekaerts wim.coekaerts at oracle.com
Tue Sep 6 15:09:47 EST 2005


well, basically the info around cpu's   how many physical, how many
allocated, how much allocated for the lpar. 

if we want to run jobs in parallel where we really want to limit the
degree to max #phys cpu / real cpu time

On Tue, Sep 06, 2005 at 12:04:18AM -0500, Nathan Lynch wrote:
> Wim Coekaerts wrote:
> > like to be able to read the lparcfg data from any user so we can make
> > "intelligent" decisions based on underlying attributes when running in
> > lpars. yes there's software that likes to do this :) and runs as
> > non-root. I'm not sure if anyone has any issues with this but I'd say it
> > would be pretty harmless.
> 
> Can you tell us more about which information in lparcfg is useful to
> you?  Some of the fields in lparcfg duplicate information that is
> already available in /proc/device-tree.  Furthermore, we could
> have lparcfg display a useful subset of its info to non-root users.
> 
> > it's very similar to say VM where you can get CP to provide feedback of
> > the real hardware inside a VM guest
> 
> Case in point, the machine's model number etc are in the device tree.
> 




More information about the Linuxppc64-dev mailing list