]> Gentwo Git Trees - linux/.git/commit
mm/memory-failure: remove the selection of RAS
authorXie Yuanbin <xieyuanbin1@huawei.com>
Wed, 19 Nov 2025 09:59:43 +0000 (17:59 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 24 Nov 2025 23:08:55 +0000 (15:08 -0800)
commit31807483d3952059d395c2a73b1fa9625db9b366
treee43b63af7c5818975eedd431ce843dab8a8646f1
parent519912bdaee8ae8529241d4763326e6120489459
mm/memory-failure: remove the selection of RAS

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.

Link: https://lkml.kernel.org/r/20251119095943.67125-1-xieyuanbin1@huawei.com
Signed-off-by: Xie Yuanbin <xieyuanbin1@huawei.com>
Acked-by: David Hildenbrand (Red Hat) <david@kernel.org>
Acked-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Borislav Petkov <bp@alien8.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
MAINTAINERS
include/ras/ras_event.h
include/trace/events/memory-failure.h [new file with mode: 0644]
mm/Kconfig
mm/memory-failure.c