patch for powerpc lparcfg.c
Carl Love
cel at us.ibm.com
Sat Apr 15 10:16:02 EST 2006
Nathan Lynch:
Oops, lost the cc line the last time.
I wasn't aware that the partition name was already being printed in
the /proc/device-tree. Yes, my tool could use that entry. It just
means opening multiple locations to get all the information. I will go
ahead and use it since it is there.
The patch becomes a bit more academic. The question becomes, should the
partition name also be printed in /proc/ppc64/lparcfg along with the
rest of the partition information? Seems like a good idea to me since
it makes the information in lparcfg more complete. I will leave it up
to the maintainers to decide.
I have reattached the updated patch in case anyone cares.
Thanks for letting me know where I can get the partition name.
Carl Love
On Fri, 2006-04-14 at 12:50 -0500, Nathan Lynch wrote:
> You forgot to cc the list...
>
> Carl Love wrote:
> >
> > The intended consumer of this information is a tool that I am working
> > on. The tool prints the CPU utilization as a function of the
> > partition's processor entitlement, hypervisor call statistics (number of
> > calls, average call time, max call time, min call time) and partition
> > configuration information. Specifically, the -i option is to print the
> > partition information. The required information includes the partition
> > name. Most of the other required information comes from
> > the /proc/ppc64/lparcfg file. This seems like a logical place to
> > include the partition name.
>
> The partition name, if it exists, is already available at
> /proc/device-tree/ibm,partition-name. Any reason your tool couldn't
> use that?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linux-2.6.17-rc1-git8-lparcfg.patch
Type: text/x-patch
Size: 1155 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20060414/63c2193e/attachment.bin>
More information about the Linuxppc-dev
mailing list