]> bbs.cooldavid.org Git - net-next-2.6.git/commit
powerpc/pseries: CMO unused page hinting
authorRobert Jennings <rcj@linux.vnet.ibm.com>
Wed, 15 Apr 2009 05:55:32 +0000 (05:55 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 21 May 2009 05:43:58 +0000 (15:43 +1000)
commit14f966e79445015cd89d0fa0ceb6b33702e951b6
treeb45546523e909b3d0a05df188c7494af3ce94ca1
parentd69a78d7daada190b42269a73daabe32a5e138a6
powerpc/pseries: CMO unused page hinting

Adds support for the "unused" page hint which can be used in shared
memory partitions to flag pages not in use, which will then be stolen
before active pages by the hypervisor when memory needs to be moved to
LPARs in need of additional memory.  Failure to mark pages as 'unused'
makes the LPAR slower to give up unused memory to other partitions.

This adds the kernel parameter 'cmo_free_hint' to disable this
functionality.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Robert Jennings <rcj@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Documentation/kernel-parameters.txt
arch/powerpc/include/asm/page.h
arch/powerpc/platforms/pseries/lpar.c