mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* + mm-memory-failurec-fix-race-with-changing-page-compound-again-fix.patch added to -mm tree
@ 2022-03-14 23:47 Andrew Morton
  2022-03-15 13:50 ` Miaohe Lin
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Morton @ 2022-03-14 23:47 UTC (permalink / raw)
  To: mm-commits, tony.luck, shy828301, naoya.horiguchi, mike.kravetz,
	linmiaohe, bp, akpm, akpm


The patch titled
     Subject: mm-memory-failurec-fix-race-with-changing-page-compound-again-fix
has been added to the -mm tree.  Its filename is
     mm-memory-failurec-fix-race-with-changing-page-compound-again-fix.patch

This patch should soon appear at
    https://ozlabs.org/~akpm/mmots/broken-out/mm-memory-failurec-fix-race-with-changing-page-compound-again-fix.patch
and later at
    https://ozlabs.org/~akpm/mmotm/broken-out/mm-memory-failurec-fix-race-with-changing-page-compound-again-fix.patch

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 and is updated
there every 3-4 working days

------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: mm-memory-failurec-fix-race-with-changing-page-compound-again-fix

s@/**@/*@, per Naoya Horiguchi

Cc: Borislav Petkov <bp@alien8.de>
Cc: Miaohe Lin <linmiaohe@huawei.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Naoya Horiguchi <naoya.horiguchi@nec.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Yang Shi <shy828301@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/memory-failure.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/mm/memory-failure.c~mm-memory-failurec-fix-race-with-changing-page-compound-again-fix
+++ a/mm/memory-failure.c
@@ -1534,7 +1534,7 @@ static int memory_failure_hugetlb(unsign
 
 	lock_page(head);
 
-	/**
+	/*
 	 * The page could have changed compound pages due to race window.
 	 * If this happens just bail out.
 	 */
_

Patches currently in -mm which might be from akpm@linux-foundation.org are

memcg-sync-flush-only-if-periodic-flush-is-delayed-fix.patch
remove-bdi_congested-and-wb_congested-and-related-functions-fix.patch
mm.patch
documentation-vm-page_ownerrst-update-the-documentation-fix.patch
mm-list_lru-replace-linear-array-with-xarray-fix.patch
mm-hwpoison-inject-support-injecting-hwpoison-to-free-page-fix.patch
mm-memory-failurec-fix-race-with-changing-page-compound-again-fix.patch
mm-export-pageheadhuge-fix.patch
userfaultfd-provide-unmasked-address-on-page-fault-v3-fix.patch
mm-mempolicy-convert-from-atomic_t-to-refcount_t-on-mempolicy-refcnt-fix.patch
mm-handle-uninitialized-numa-nodes-gracefully-fix.patch
mm-memory_hotplug-remove-obsolete-comment-of-__add_pages-fix.patch
proc-alloc-path_max-bytes-for-proc-pid-fd-symlinks-fix.patch
linux-typesh-remove-unnecessary-__bitwise__-fix.patch
taskstats-remove-unneeded-dead-assignment-fix.patch
linux-next-rejects.patch
linux-next-git-rejects.patch
mm-oom_killc-fix-vm_oom_kill_table-ifdeffery.patch
kasan-improve-vmalloc-tests-fix-3-fix.patch
mm-slightly-clarify-ksm-logic-in-do_swap_page-fix.patch
mm-huge_memory-remove-stale-locking-logic-from-__split_huge_pmd-fix.patch
mutex-subsystem-synchro-test-module-fix.patch
kernel-forkc-export-kernel_thread-to-modules.patch


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: + mm-memory-failurec-fix-race-with-changing-page-compound-again-fix.patch added to -mm tree
  2022-03-14 23:47 + mm-memory-failurec-fix-race-with-changing-page-compound-again-fix.patch added to -mm tree Andrew Morton
@ 2022-03-15 13:50 ` Miaohe Lin
  0 siblings, 0 replies; 2+ messages in thread
From: Miaohe Lin @ 2022-03-15 13:50 UTC (permalink / raw)
  To: Andrew Morton, mm-commits, tony.luck, shy828301, naoya.horiguchi,
	mike.kravetz, bp

On 2022/3/15 7:47, Andrew Morton wrote:
> 
> The patch titled
>      Subject: mm-memory-failurec-fix-race-with-changing-page-compound-again-fix
> has been added to the -mm tree.  Its filename is
>      mm-memory-failurec-fix-race-with-changing-page-compound-again-fix.patch
> 
> This patch should soon appear at
>     https://ozlabs.org/~akpm/mmots/broken-out/mm-memory-failurec-fix-race-with-changing-page-compound-again-fix.patch
> and later at
>     https://ozlabs.org/~akpm/mmotm/broken-out/mm-memory-failurec-fix-race-with-changing-page-compound-again-fix.patch
> 
> 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 and is updated
> there every 3-4 working days
> 
> ------------------------------------------------------
> From: Andrew Morton <akpm@linux-foundation.org>
> Subject: mm-memory-failurec-fix-race-with-changing-page-compound-again-fix
> 
> s@/**@/*@, per Naoya Horiguchi
> 
> Cc: Borislav Petkov <bp@alien8.de>
> Cc: Miaohe Lin <linmiaohe@huawei.com>
> Cc: Mike Kravetz <mike.kravetz@oracle.com>
> Cc: Naoya Horiguchi <naoya.horiguchi@nec.com>
> Cc: Tony Luck <tony.luck@intel.com>
> Cc: Yang Shi <shy828301@gmail.com>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---
> 
>  mm/memory-failure.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- a/mm/memory-failure.c~mm-memory-failurec-fix-race-with-changing-page-compound-again-fix
> +++ a/mm/memory-failure.c
> @@ -1534,7 +1534,7 @@ static int memory_failure_hugetlb(unsign
>  
>  	lock_page(head);
>  
> -	/**
> +	/*
>  	 * The page could have changed compound pages due to race window.
>  	 * If this happens just bail out.
>  	 */

Many thanks for doing this. :)

> _
> 
> Patches currently in -mm which might be from akpm@linux-foundation.org are
> 
> memcg-sync-flush-only-if-periodic-flush-is-delayed-fix.patch
> remove-bdi_congested-and-wb_congested-and-related-functions-fix.patch
> mm.patch
> documentation-vm-page_ownerrst-update-the-documentation-fix.patch
> mm-list_lru-replace-linear-array-with-xarray-fix.patch
> mm-hwpoison-inject-support-injecting-hwpoison-to-free-page-fix.patch
> mm-memory-failurec-fix-race-with-changing-page-compound-again-fix.patch
> mm-export-pageheadhuge-fix.patch
> userfaultfd-provide-unmasked-address-on-page-fault-v3-fix.patch
> mm-mempolicy-convert-from-atomic_t-to-refcount_t-on-mempolicy-refcnt-fix.patch
> mm-handle-uninitialized-numa-nodes-gracefully-fix.patch
> mm-memory_hotplug-remove-obsolete-comment-of-__add_pages-fix.patch
> proc-alloc-path_max-bytes-for-proc-pid-fd-symlinks-fix.patch
> linux-typesh-remove-unnecessary-__bitwise__-fix.patch
> taskstats-remove-unneeded-dead-assignment-fix.patch
> linux-next-rejects.patch
> linux-next-git-rejects.patch
> mm-oom_killc-fix-vm_oom_kill_table-ifdeffery.patch
> kasan-improve-vmalloc-tests-fix-3-fix.patch
> mm-slightly-clarify-ksm-logic-in-do_swap_page-fix.patch
> mm-huge_memory-remove-stale-locking-logic-from-__split_huge_pmd-fix.patch
> mutex-subsystem-synchro-test-module-fix.patch
> kernel-forkc-export-kernel_thread-to-modules.patch
> 
> .
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-15 13:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-14 23:47 + mm-memory-failurec-fix-race-with-changing-page-compound-again-fix.patch added to -mm tree Andrew Morton
2022-03-15 13:50 ` Miaohe Lin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).