Commit 699bb9e8 authored by Liu Shixin's avatar Liu Shixin Committed by Ma Wupeng
Browse files

mm/zswap: delay the initializaton of zswap until the first enablement

hulk inclusion
category: performance
bugzilla: 187468, https://gitee.com/openeuler/kernel/issues/I61HSG



--------------------------------

The zswap initialization consumes some memory. If we don't use zswap,
there's no need to initial it. So delay the initializaton of zswap until
the first enablement.

Signed-off-by: default avatarLiu Shixin <liushixin2@huawei.com>
parent 3286455e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment