File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ config ZEN_INTERACTIVE
90
90
Mem dirty before sync writeback: 20 % -> 50 %
91
91
Compact unevictable pages......: yes -> no
92
92
Background-reclaim hugepages...: no -> yes
93
+ Zswap enabled..................: no -> yes
93
94
94
95
config BROKEN
95
96
bool
Original file line number Diff line number Diff line change @@ -72,7 +72,11 @@ static u64 zswap_duplicate_entry;
72
72
#define ZSWAP_PARAM_UNSET ""
73
73
74
74
/* Enable/disable zswap (disabled by default) */
75
+ #ifdef CONFIG_ZEN_INTERACTIVE
76
+ static bool zswap_enabled = true;
77
+ #else
75
78
static bool zswap_enabled ;
79
+ #endif
76
80
static int zswap_enabled_param_set (const char * ,
77
81
const struct kernel_param * );
78
82
static struct kernel_param_ops zswap_enabled_param_ops = {
You can’t perform that action at this time.
0 commit comments