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 bc740f04a214..e83ad05da944 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 c4effa356d4d..4b792cd20710 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 */ -- 1.7.10.4 _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel