Re: [PATCH v3] mm/memory-failure: remove the selection of RAS
From: Miaohe Lin
Date: Fri Nov 21 2025 - 02:39:10 EST
On 2025/11/19 17:59, Xie Yuanbin wrote:
> The commit 97f0b13452198290799f ("tracing: add trace event for
> memory-failure") introduces the selection of RAS in memory-failure.
> This commit is just a tracing feature; in reality, there is no dependency
> between memory-failure and RAS. RAS increases the size of the bzImage
> image by 8k, which is very valuable for embedded devices.
>
> Move the memory-failure traceing code from ras_event.h to
> memory-failure.h and remove the selection of RAS.
>
> v2->v3: https://lore.kernel.org/20251104072306.100738-3-xieyuanbin1@xxxxxxxxxx
> - Change define TRACE_SYSTEM from ras to memory_failure
> - Add include/trace/events/memory-failure.h to
> "HWPOISON MEMORY FAILURE HANDLING" section in MAINTAINERS
> - Rebase to latest linux-next source
>
> v1->v2: https://lore.kernel.org/20251103033536.52234-2-xieyuanbin1@xxxxxxxxxx
> - Move the memory-failure traceing code from ras_event.h to
> memory-failure.h
>
> Signed-off-by: Xie Yuanbin <xieyuanbin1@xxxxxxxxxx>
> Cc: David Hildenbrand (Red Hat) <david@xxxxxxxxxx>
> Cc: Borislav Petkov <bp@xxxxxxxxx>
> Cc: Miaohe Lin <linmiaohe@xxxxxxxxxx>
LGTM. With David's comment addressed,
Acked-by: Miaohe Lin <linmiaohe@xxxxxxxxxx>
Thanks.
.