diff options
author | Robert Jennings <rcj@linux.vnet.ibm.com> | 2009-04-15 01:55:32 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-05-21 01:43:58 -0400 |
commit | 14f966e79445015cd89d0fa0ceb6b33702e951b6 (patch) | |
tree | b45546523e909b3d0a05df188c7494af3ce94ca1 /Documentation | |
parent | d69a78d7daada190b42269a73daabe32a5e138a6 (diff) |
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>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/kernel-parameters.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index e87bdbfbcc75..844e9a654d0b 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -497,6 +497,13 @@ and is between 256 and 4096 characters. It is defined in the file | |||
497 | Also note the kernel might malfunction if you disable | 497 | Also note the kernel might malfunction if you disable |
498 | some critical bits. | 498 | some critical bits. |
499 | 499 | ||
500 | cmo_free_hint= [PPC] Format: { yes | no } | ||
501 | Specify whether pages are marked as being inactive | ||
502 | when they are freed. This is used in CMO environments | ||
503 | to determine OS memory pressure for page stealing by | ||
504 | a hypervisor. | ||
505 | Default: yes | ||
506 | |||
500 | code_bytes [X86] How many bytes of object code to print | 507 | code_bytes [X86] How many bytes of object code to print |
501 | in an oops report. | 508 | in an oops report. |
502 | Range: 0 - 8192 | 509 | Range: 0 - 8192 |