The commit is pushed to "branch-rh7-3.10.0-123.1.2-ovz" and will appear at 
https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-123.1.2.vz7.5.1
------>
commit a1cd5a98145e5032cad97a0bf15e3e0904fad8d0
Author: Vladimir Davydov <vdavy...@parallels.com>
Date:   Mon May 18 17:00:04 2015 +0400

    mm/tswap/tcache: enable tcache and tswap by default
    
    We use both of them => enable tcache and tswap by default.
    
    In order to disable them add appropriate kernel boot options:
        tcache.enabled=0
        tswap.enabled=0
    
    https://jira.sw.ru/browse/PSBM-31757
    https://jira.sw.ru/browse/PSBM-32063
    
    Signed-off-by: Vladimir Davydov <vdavy...@parallels.com>
---
 mm/tcache.c | 2 +-
 mm/tswap.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/mm/tcache.c b/mm/tcache.c
index bc740f0..e83ad05 100644
--- a/mm/tcache.c
+++ b/mm/tcache.c
@@ -125,7 +125,7 @@ static struct tcache_lru *tcache_lru_node;
  */
 
 /* Enable/disable tcache backend (set at boot time) */
-static bool tcache_enabled __read_mostly;
+static bool tcache_enabled __read_mostly = true;
 module_param_named(enabled, tcache_enabled, bool, 0444);
 
 /* Enable/disable populating the cache */
diff --git a/mm/tswap.c b/mm/tswap.c
index c4effa3..4b792cd 100644
--- a/mm/tswap.c
+++ b/mm/tswap.c
@@ -27,7 +27,7 @@ struct tswap_lru {
 static struct tswap_lru *tswap_lru_node;
 
 /* Enable/disable tswap backend (set at boot time) */
-static bool tswap_enabled __read_mostly;
+static bool tswap_enabled __read_mostly = true;
 module_param_named(enabled, tswap_enabled, bool, 0444);
 
 /* Enable/disable populating the cache */
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to