Re: [PATCH 1/2] x86/mm: support memory-failure on 32-bits with SPARSEMEM
From: Xie Yuanbin
Date: Mon Nov 03 2025 - 21:21:27 EST
On Mon, 3 Nov 2025 13:39:20 +0100, Borislav Petkov wrote:
>On Mon, Nov 03, 2025 at 01:15:58PM +0100, David Hildenbrand wrote:
>> I rather wonder whether the memory-tracing code should live in a
>> memory-failure.h instead.
>
> Yah, move it pls. It doesn't belong there.
Okay, I will try it in V2 patches.
I'm not very familiar with the implementation of trace.
A trace/events/memory-failure.h file should be added, and:
```c
#define CREATE_TRACE_POINTS
#include <trace/events/memory-failure.h>
```
should be added in memory-failure.c, right?
If I have made any mistakes, please point them out. Thanks!
Xie Yuanbin