RE: [PATCH] mm/memory-failure: trace: change memory_failure_event to ras subsystem

From: Zhuo, Qiuxu

Date: Fri Jun 05 2026 - 09:09:55 EST


> From: Xie Yuanbin <xieyuanbin1@xxxxxxxxxx>
> [...]
> Subject: [PATCH] mm/memory-failure: trace: change memory_failure_event to
> ras subsystem
>
> For historical version, commit 97f0b1345219 ("tracing: add trace event for
> memory-failure") introduced memory_failure_event in ras subsystem.
> commit 31807483d395 ("mm/memory-failure: remove the selection of RAS")
> changed memory_failure_event to memory_failure subsystem. This breaks
> the backward compatibility, some user programs rely on it.
>
> Change memory_failure_event to ras subsystem to keep backward
> compatibility.
>
> Fixes: 31807483d395 ("mm/memory-failure: remove the selection of RAS")
>
> Reported-by: Yi Lai <yi1.lai@xxxxxxxxx>
> Reported-by: Qiuxu Zhuo <qiuxu.zhuo@xxxxxxxxx>
> Closes: https://lore.kernel.org/linux-
> mm/CY8PR11MB7134346A3E4BB28ECA28D6E989132@xxxxxxxxxxxxxxxxx
> prd11.prod.outlook.com
> Cc: David Hildenbrand <david@xxxxxxxxxx>
> Cc: Steven Rostedt <rostedt@xxxxxxxxxxx>
> Cc: Borislav Petkov <bp@xxxxxxxxx>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Cc: Miaohe Lin <linmiaohe@xxxxxxxxxx>
> Signed-off-by: Xie Yuanbin <xieyuanbin1@xxxxxxxxxx>

LGTM.

Reviewed-by: Qiuxu Zhuo <qiuxu.zhuo@xxxxxxxxx>

Verified that rasdaemon can enable and receive memory_failure_event on
v7.1-rc3.

Tested-by: Qiuxu Zhuo <qiuxu.zhuo@xxxxxxxxx>

Thanks
-Qiuxu