aboutsummaryrefslogtreecommitdiff
path: root/fs/proc
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2025-09-04 14:22:58 +0800
committerAndrew Morton <akpm@linux-foundation.org>2025-09-21 14:22:21 -0700
commit5ce1dbfdd8e3d4dca2f842dd833ca7e264ace85b (patch)
treec3ba2fef38bf2ea19a4598e9ed9b5e0d731beb76 /fs/proc
parenta488ba3124c82d704963fcd760fe653df1987b13 (diff)
mm/hwpoison: decouple hwpoison_filter from mm/memory-failure.c
mm/memory-failure.c defines and uses hwpoison_filter_* parameters but the values of those parameters can only be modified via mm/hwpoison-inject.c from userspace. They have a potentially different life time. Decouple those parameters from mm/memory-failure.c to fix this broken layering. Link: https://lkml.kernel.org/r/20250904062258.3336092-1-linmiaohe@huawei.com Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Suggested-by: Michal Hocko <mhocko@suse.com> Cc: David Hildenbrand <david@redhat.com> Cc: Naoya Horiguchi <nao.horiguchi@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/proc')
-rw-r--r--fs/proc/page.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/proc/page.c b/fs/proc/page.c
index 771e0b6bc630..fc64f23e05e5 100644
--- a/fs/proc/page.c
+++ b/fs/proc/page.c
@@ -256,6 +256,7 @@ u64 stable_page_flags(const struct page *page)
return u;
}
+EXPORT_SYMBOL_GPL(stable_page_flags);
/* /proc/kpageflags - an array exposing page flags
*