]> git.baikalelectronics.ru Git - kernel.git/commit
mm: vmstat: add cma statistics
authorMinchan Kim <minchan@kernel.org>
Wed, 5 May 2021 01:37:19 +0000 (18:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 5 May 2021 18:27:24 +0000 (11:27 -0700)
commit1fa1c8e80ebb1a7290cc4d3ce1239a7205731387
treef3d6ed6e3faae4cffecba3e3e14eb2af019100e4
parentfa7dcced13bfee14aeeb92d2d6ee36ce29a44a25
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>
include/linux/vm_event_item.h
mm/cma.c
mm/vmstat.c