Commit 12d72fbe authored by Minchan Kim's avatar Minchan Kim Committed by Zheng Zengkai
Browse files

mm: vmstat: add cma statistics

mainline inclusion
from mainline-5.13-rc1
commit bbb26920
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I3ZQ5G
CVE: NA

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

Since CMA is used more widely, it's worth to have CMA allocation
statistics into vmstat.  With it, we could know how agressively system
uses cma allocation and how often it fails.

Link: https://lkml.kernel.org/r/20210302183346.3707237-1-minchan@kernel.org


Signed-off-by: default avatarMinchan Kim <minchan@kernel.org>
Reviewed-by: default avatarJohn Hubbard <jhubbard@nvidia.com>
Cc: John Dias <joaodias@google.com>
Cc: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit bbb26920)
Signed-off-by: default avatarYue Zou <zouyue3@huawei.com>
Reviewed-by: default avatarchenwandun <chenwandun@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 883a63c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment