Commit ea625d60 authored by Chen Wandun's avatar Chen Wandun Committed by Yang Yingliang
Browse files

mm: fix statistic of ReliableTaskUsed

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I4SK3S


CVE: NA

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

Previous method of accounting ReliableTaskUsed is inaccurate,
such as in cow, migration, shareable memory, which will lead
to overflow.

Fix statistic of ReliableTaskUsed by accounting reliable
anon page and reliable page cache.

Signed-off-by: default avatarChen Wandun <chenwandun@huawei.com>
Reviewed-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
Reviewed-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
Reviewed-by: default avatarWei Li <liwei391@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent b41b26bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment