]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries: Add page coalescing support
authorBrian King <brking@linux.vnet.ibm.com>
Wed, 4 May 2011 06:01:20 +0000 (16:01 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 4 May 2011 06:02:21 +0000 (16:02 +1000)
commit391c4e4cd3a5bcf634b1c104ed95509865dde3d7
tree1d36b17ec6a4c56dd24f9be2f7f31e6321040ed0
parent63d0409ed6c98f98c02cc2596901e89778da81f7
powerpc/pseries: Add page coalescing support

Adds support for page coalescing, which is a feature on IBM Power servers
which allows for coalescing identical pages between logical partitions.
Hint text pages as coalesce candidates, since they are the most likely
pages to be able to be coalesced between partitions. This patch also
exports some page coalescing statistics available from firmware via
lparcfg.

[BenH: Moved a couple of things around to fix compile problems]

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/firmware.h
arch/powerpc/include/asm/hvcall.h
arch/powerpc/include/asm/pSeries_reconfig.h
arch/powerpc/kernel/lparcfg.c
arch/powerpc/kernel/prom_init.c
arch/powerpc/kernel/rtas.c
arch/powerpc/platforms/pseries/lpar.c
arch/powerpc/platforms/pseries/setup.c