From f1c1d60a5767aa3ae4379ce4aa4dea14d6c1fa62 Mon Sep 17 00:00:00 2001
From: Fang Lijun <fanglijun3@huawei.com>
Date: Sat, 30 Oct 2021 17:23:11 +0800
Subject: [PATCH] share_pool: Default enable enable_share_k2u_spg

ascend inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I4EUVI
CVE: NA

Signed-off-by: Fang Lijun <fanglijun3@huawei.com>
Signed-off-by: Zhou Guanghui <zhouguanghui1@huawei.com>
Reviewed-by: Weilong Chen <chenweilong@huawei.com>
Reviewed-by: Ding Tianhong <dingtianhong@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
---
 mm/share_pool.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/share_pool.c b/mm/share_pool.c
index 8b1864841434..c6dcae92f67b 100644
--- a/mm/share_pool.c
+++ b/mm/share_pool.c
@@ -80,7 +80,7 @@ static int __read_mostly enable_mdc_default_group;
 static const int mdc_default_group_id = 1;
 
 /* share the uva to the whole group */
-static int __read_mostly enable_share_k2u_spg;
+static int __read_mostly enable_share_k2u_spg = 1;
 
 /* access control mode */
 int sysctl_ac_mode = AC_NONE;
-- 
GitLab