Re: [PATCH v1 3/6] mm/hwpoison: introduce MF_MSG_PAGETABLE

From: Matthew Wilcox
Date: Sun Jun 13 2021 - 23:07:48 EST


On Mon, Jun 14, 2021 at 11:12:09AM +0900, Naoya Horiguchi wrote:
> +++ v5.13-rc5_patched/include/ras/ras_event.h
> @@ -357,6 +357,7 @@ TRACE_EVENT(aer_event,
> EM ( MF_MSG_KERNEL, "reserved kernel page" ) \
> EM ( MF_MSG_KERNEL_HIGH_ORDER, "high-order kernel page" ) \
> EM ( MF_MSG_SLAB, "kernel slab page" ) \
> + EM ( MF_MSG_PAGETABLE, "page table page page" ) \

Did you intend to double the word "page"?

> +++ v5.13-rc5_patched/mm/memory-failure.c
> @@ -708,6 +708,7 @@ static const char * const action_page_types[] = {
> [MF_MSG_KERNEL] = "reserved kernel page",
> [MF_MSG_KERNEL_HIGH_ORDER] = "high-order kernel page",
> [MF_MSG_SLAB] = "kernel slab page",
> + [MF_MSG_PAGETABLE] = "page table page",

... you didn't here.