summaryrefslogtreecommitdiffstats
path: root/arch/s390/mm/page-states.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-09-11 10:29:01 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2009-09-11 10:29:54 +0200
commit2ddddf3e0a55a7fcd6f240a7416cfcb12dd38b7e (patch)
treed1c923319164723d8d46450c5a01ff85d8847b83 /arch/s390/mm/page-states.c
parent5dd1d2ece0250125fec2dcccbfb8ab9bb2ac020c (diff)
downloadop-kernel-dev-2ddddf3e0a55a7fcd6f240a7416cfcb12dd38b7e.zip
op-kernel-dev-2ddddf3e0a55a7fcd6f240a7416cfcb12dd38b7e.tar.gz
[S390] Enable guest page hinting by default.
Get rid of the PAGE_STATES config option and enable guest page hinting by default. It can be disabled by specifying "cmma=off" at the command line. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/mm/page-states.c')
-rw-r--r--arch/s390/mm/page-states.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/s390/mm/page-states.c b/arch/s390/mm/page-states.c
index fc0ad73..f92ec20 100644
--- a/arch/s390/mm/page-states.c
+++ b/arch/s390/mm/page-states.c
@@ -1,6 +1,4 @@
/*
- * arch/s390/mm/page-states.c
- *
* Copyright IBM Corp. 2008
*
* Guest page hinting for unused pages.
@@ -17,11 +15,12 @@
#define ESSA_SET_STABLE 1
#define ESSA_SET_UNUSED 2
-static int cmma_flag;
+static int cmma_flag = 1;
static int __init cmma(char *str)
{
char *parm;
+
parm = strstrip(str);
if (strcmp(parm, "yes") == 0 || strcmp(parm, "on") == 0) {
cmma_flag = 1;
@@ -32,7 +31,6 @@ static int __init cmma(char *str)
return 1;
return 0;
}
-
__setup("cmma=", cmma);
void __init cmma_init(void)
OpenPOWER on IntegriCloud