Commit 5c43ab17 authored by Peng Wu's avatar Peng Wu Committed by Yang Yingliang
Browse files

proc: Fix reliable display err in /proc/pid/status

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


CVE: NA

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

Reliable memory used shown in /proc/pid/status is incorrect because this
var is about page count. So (PAGE_SHIFT - 10) is multiplied to get correct
size in kB.

Fixes: 094eaabb ("proc: Count reliable memory usage of reliable tasks")
Signed-off-by: default avatarPeng Wu <wupeng58@huawei.com>
Reviewed-by: default avatarKefeng <Wang&lt;wangkefeng.wang@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent b309e3df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment