powerpc/pseries: Add CMO paging statistics
authorBrian King <brking@linux.vnet.ibm.com>
Wed, 23 Jul 2008 18:30:58 +0000 (04:30 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 25 Jul 2008 05:44:42 +0000 (15:44 +1000)
commitffa5abbd0c399b32fc13a1b4718d87ee7a716999
tree79e2136b4de01bee9c5f8f8cee23823a801b8972
parent84af458bb23bf5f0ba1af4320dd2a57f7c4363e5
powerpc/pseries: Add CMO paging statistics

With the addition of Cooperative Memory Overcommitment (CMO) support
for IBM Power Systems, two fields have been added to the VPA to report
paging statistics.  Add support in lparcfg to report them to userspace.

Signed-off-by: Brian King <brking@linux.vnet.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/lppaca.h