emm: don't set zram_memcg_nocharge as true until module load
It's up to EMM ZRAM module to dedice the value of it, so don't set an default value in kernel. Signed-off-by: Kairui Song <kasong@tencent.com>
This commit is contained in:
parent
88c53aa917
commit
c87f6182ef
|
@ -84,7 +84,8 @@
|
|||
#include <trace/events/vmscan.h>
|
||||
|
||||
#ifdef CONFIG_MEMCG_ZRAM
|
||||
bool zram_memcg_nocharge = true;
|
||||
bool zram_memcg_nocharge;
|
||||
EXPORT_SYMBOL(zram_memcg_nocharge);
|
||||
#endif
|
||||
|
||||
struct cgroup_subsys memory_cgrp_subsys __read_mostly;
|
||||
|
|
Loading…
Reference in New Issue