The patch titled Subject: mm-memory-failure-userspace-controls-soft-offlining-pages-v7 has been added to the -mm mm-unstable branch. Its filename is mm-memory-failure-userspace-controls-soft-offlining-pages-v7.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-memory-failure-userspace-controls-soft-offlining-pages-v7.patch This patch will later appear in the mm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Jiaqi Yan <jiaqiyan@xxxxxxxxxx> Subject: mm-memory-failure-userspace-controls-soft-offlining-pages-v7 Date: Fri, 28 Jun 2024 20:59:56 +0000 Link: https://lkml.kernel.org/r/20240628205958.2845610-3-jiaqiyan@xxxxxxxxxx Signed-off-by: Jiaqi Yan <jiaqiyan@xxxxxxxxxx> Acked-by: Miaohe Lin <linmiaohe@xxxxxxxxxx> Acked-by: David Rientjes <rientjes@xxxxxxxxxx> Cc: Frank van der Linden <fvdl@xxxxxxxxxx> Cc: Jane Chu <jane.chu@xxxxxxxxxx> Cc: Jonathan Corbet <corbet@xxxxxxx> Cc: Lance Yang <ioworker0@xxxxxxxxx> Cc: Muchun Song <muchun.song@xxxxxxxxx> Cc: Naoya Horiguchi <nao.horiguchi@xxxxxxxxx> Cc: Oscar Salvador <osalvador@xxxxxxx> Cc: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> Cc: Shuah Khan <shuah@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/memory-failure.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/mm/memory-failure.c~mm-memory-failure-userspace-controls-soft-offlining-pages-v7 +++ a/mm/memory-failure.c @@ -2808,8 +2808,7 @@ int soft_offline_page(unsigned long pfn, } if (!sysctl_enable_soft_offline) { - pr_info_once("%#lx: disabled by /proc/sys/vm/enable_soft_offline\n", - pfn); + pr_info_once("disabled by /proc/sys/vm/enable_soft_offline\n"); put_ref_page(pfn, flags); return -EOPNOTSUPP; } _ Patches currently in -mm which might be from jiaqiyan@xxxxxxxxxx are mm-memory-failure-refactor-log-format-in-unpoison_memory.patch mm-memory-failure-refactor-log-format-in-soft-offline-code.patch mm-memory-failure-userspace-controls-soft-offlining-pages.patch mm-memory-failure-userspace-controls-soft-offlining-pages-v7.patch selftest-mm-test-enable_soft_offline-behaviors.patch selftest-mm-test-enable_soft_offline-behaviors-v7.patch docs-mm-add-enable_soft_offline-sysctl.patch