mm: memtest: convert to memtest_report_meminfo()
authorKefeng Wang <wangkefeng.wang@huawei.com>
Tue, 8 Aug 2023 03:33:59 +0000 (11:33 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 21 Aug 2023 20:37:47 +0000 (13:37 -0700)
commit3f32c49ed6f15c8412a8abc93a92c4b37e6c4592
tree0b36299811573eafb0382ee409612ff9e737da23
parentdaee07bfba3340b07edcf9ae92044398e8a964db
mm: memtest: convert to memtest_report_meminfo()

It is better to not expose too many internal variables of memtest,
add a helper memtest_report_meminfo() to show memtest results.

Link: https://lkml.kernel.org/r/20230808033359.174986-1-wangkefeng.wang@huawei.com
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Acked-by: Mike Rapoport (IBM) <rppt@kernel.org>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Tomas Mudrunka <tomas.mudrunka@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/proc/meminfo.c
include/linux/memblock.h
mm/memtest.c