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: NChen Wandun <chenwandun@huawei.com> Reviewed-by: NKefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录