The patch titled Subject: mm-memory-failure-userspace-controls-soft-offlining-pages-v5 has been added to the -mm mm-unstable branch. Its filename is mm-memory-failure-userspace-controls-soft-offlining-pages-v5.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-v5.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-v5 Date: Mon, 24 Jun 2024 16:33:46 +0000 update a comment in soft_offline_page() Link: https://lkml.kernel.org/r/20240624163348.1751454-3-jiaqiyan@xxxxxxxxxx Signed-off-by: Jiaqi Yan <jiaqiyan@xxxxxxxxxx> Acked-by: Miaohe Lin <linmiaohe@xxxxxxxxxx> Cc: David Rientjes <rientjes@xxxxxxxxxx> Cc: Frank van der Linden <fvdl@xxxxxxxxxx> Cc: Jane Chu <jane.chu@xxxxxxxxxx> Cc: Jonathan Corbet <corbet@xxxxxxx> Cc: Muchun Song <muchun.song@xxxxxxxxx> Cc: Naoya Horiguchi <nao.horiguchi@xxxxxxxxx> Cc: Oscar Salvador <osalvador@xxxxxxx> Cc: Shuah Khan <shuah@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/memory-failure.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/mm/memory-failure.c~mm-memory-failure-userspace-controls-soft-offlining-pages-v5 +++ a/mm/memory-failure.c @@ -2770,8 +2770,8 @@ static int soft_offline_in_use_page(stru * @flags: flags. Same as memory_failure(). * * Returns 0 on success, - * -EOPNOTSUPP for hwpoison_filter() filtered the error event, - * -EOPNOTSUPP if disabled by /proc/sys/vm/enable_soft_offline, + * -EOPNOTSUPP for hwpoison_filter() filtered the error event, or + * disabled by /proc/sys/vm/enable_soft_offline, * < 0 otherwise negated errno. * * Soft offline a page, by migration or invalidation, _ 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-v5.patch selftest-mm-test-enable_soft_offline-behaviors.patch selftest-mm-test-enable_soft_offline-behaviors-v5.patch docs-mm-add-enable_soft_offline-sysctl.patch