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

mm: fix statistic of ReliableFileCache in /proc/meminfo

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


CVE: NA

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

Reliable page cache should be account in update_lru_sizes and
move_active_pages_to_lru.

update_lru_sizes is used to account page after pages are isolated
from lru in batch.

move_active_pages_to_lru will add pages to lru, so statistic
should update synchronously.

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