提交 55ac3d06 编写于 作者: M Ma Wupeng 提交者: Wang Wensheng

mm: Drop shmem reliable related log during startup

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I4SK3S
CVE: NA

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

Message "shmem reliable disabled." will be printed if memory reliable is
disabled. This is not necessary so drop it.
Signed-off-by: NMa Wupeng <mawupeng1@huawei.com>
Reviewed-by: NKefeng Wang <wangkefeng.wang@huawei.com>
上级 b6a62a55
......@@ -101,13 +101,8 @@ void mem_reliable_init(bool has_unmirrored_mem, unsigned long *zone_movable_pfn)
void shmem_reliable_init(void)
{
if (!shmem_reliable_is_enabled())
return;
if (!mem_reliable_is_enabled()) {
if (!mem_reliable_is_enabled() || !shmem_reliable_is_enabled())
shmem_reliable = false;
pr_info("shmem reliable disabled.\n");
}
}
void reliable_report_meminfo(struct seq_file *m)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册