The patch titled Subject: docs-mm-add-enable_soft_offline-sysctl-fix has been added to the -mm mm-unstable branch. Its filename is docs-mm-add-enable_soft_offline-sysctl-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/docs-mm-add-enable_soft_offline-sysctl-fix.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: docs-mm-add-enable_soft_offline-sysctl-fix Date: Mon, 1 Jul 2024 21:15:05 -0700 fix kerneldoc warnings Link: https://lkml.kernel.org/r/CACw3F52=GxTCDw-PqFh3-GDM-fo3GbhGdu0hedxYXOTT4TQSTg@xxxxxxxxxxxxxx Signed-off-by: Jiaqi Yan <jiaqiyan@xxxxxxxxxx> Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- Documentation/admin-guide/sysctl/vm.rst | 3 +++ 1 file changed, 3 insertions(+) --- a/Documentation/admin-guide/sysctl/vm.rst~docs-mm-add-enable_soft_offline-sysctl-fix +++ a/Documentation/admin-guide/sysctl/vm.rst @@ -274,12 +274,15 @@ Correctable memory errors are very commo solution for memory pages having (excessive) corrected memory errors. For different types of page, soft-offline has different behaviors / costs. + - For a raw error page, soft-offline migrates the in-use page's content to a new raw page. + - For a page that is part of a transparent hugepage, soft-offline splits the transparent hugepage into raw pages, then migrates only the raw error page. As a result, user is transparently backed by 1 less hugepage, impacting memory access performance. + - For a page that is part of a HugeTLB hugepage, soft-offline first migrates the entire HugeTLB hugepage, during which a free hugepage will be consumed as migration target. Then the original hugepage is dissolved into raw _ Patches currently in -mm which might be from jiaqiyan@xxxxxxxxxx are 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 docs-mm-add-enable_soft_offline-sysctl-fix.patch