mm: vmstat: add cma statistics 23/262723/3
authorMinchan Kim <minchan@kernel.org>
Wed, 21 Apr 2021 04:44:11 +0000 (14:44 +1000)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 19 Aug 2021 02:48:10 +0000 (02:48 +0000)
commit72e99a1c8712c4ac92ddbb3b17c1074ebfcbb49e
treef68a6d9701985ee5c369b19612699ad79f24a084
parent48526e75139ceaf3c7ce040a96529273ba434a39
mm: vmstat: add cma statistics

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: Minchan Kim <minchan@kernel.org>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Cc: John Dias <joaodias@google.com>
Cc: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Origin: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=bbb269206f3c914d4f23e023de4ec020abea6d1b
Signed-off-by: Ɓukasz Stelmach <l.stelmach@samsung.com>
Change-Id: Iadf5fef76fe6dfa41177cfccf022ea39ae1cb19e
include/linux/vm_event_item.h
mm/cma.c
mm/vmstat.c