powerpc/pseries: Add memory entitlement capabilities to /proc/ppc64/lparcfg
authorNathan Fontenot <nfont@austin.ibm.com>
Wed, 23 Jul 2008 18:27:30 +0000 (04:27 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 25 Jul 2008 05:44:41 +0000 (15:44 +1000)
commitdfc3403f0e5ffb94ee29942f313b87d4061d951b
tree8e16a830d4869907f5f3b423dd400c927fcf8e4b
parent11529396ea3190113173f7a15e59a58dbcaa36c8
powerpc/pseries: Add memory entitlement capabilities to /proc/ppc64/lparcfg

Update /proc/ppc64/lparcfg to display Cooperative Memory
Overcommitment statistics as reported by the H_GET_MPP hcall.  This
also updates the lparcfg interface to allow setting memory entitlement
and weight.

Signed-off-by: Nathan Fontenot <nfont@austin.ibm.com>
Signed-off-by: Robert Jennings <rcj@linux.vnet.ibm.com>
Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/lparcfg.c
include/asm-powerpc/hvcall.h