All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: mm-commits@vger.kernel.org,willy@infradead.org,v-songbaohua@oppo.com,akpm@linux-foundation.org,akpm@linux-foundation.org
Subject: [folded-merged] mm-hold-ptl-from-the-first-pte-while-reclaiming-a-large-folio-fix.patch removed from -mm tree
Date: Thu, 25 Apr 2024 20:21:51 -0700	[thread overview]
Message-ID: <20240426032151.D1BA8C113CD@smtp.kernel.org> (raw)


The quilt patch titled
     Subject: mm-hold-ptl-from-the-first-pte-while-reclaiming-a-large-folio-fix
has been removed from the -mm tree.  Its filename was
     mm-hold-ptl-from-the-first-pte-while-reclaiming-a-large-folio-fix.patch

This patch was dropped because it was folded into mm-hold-ptl-from-the-first-pte-while-reclaiming-a-large-folio.patch

------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: mm-hold-ptl-from-the-first-pte-while-reclaiming-a-large-folio-fix
Date: Tue Mar 26 11:30:46 AM PDT 2024

rewrap comment, per Matthew

Cc: Barry Song <v-songbaohua@oppo.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/vmscan.c |   18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

--- a/mm/vmscan.c~mm-hold-ptl-from-the-first-pte-while-reclaiming-a-large-folio-fix
+++ a/mm/vmscan.c
@@ -1258,14 +1258,16 @@ retry:
 			if (folio_test_pmd_mappable(folio))
 				flags |= TTU_SPLIT_HUGE_PMD;
 			/*
-			 * Without TTU_SYNC, try_to_unmap will only begin to hold PTL
-			 * from the first present PTE within a large folio. Some initial
-			 * PTEs might be skipped due to races with parallel PTE writes
-			 * in which PTEs can be cleared temporarily before being written
-			 * new present values. This will lead to a large folio is still
-			 * mapped while some subpages have been partially unmapped after
-			 * try_to_unmap; TTU_SYNC helps try_to_unmap acquire PTL from the
-			 * first PTE, eliminating the influence of temporary PTE values.
+			 * Without TTU_SYNC, try_to_unmap will only begin to
+			 * hold PTL from the first present PTE within a large
+			 * folio. Some initial PTEs might be skipped due to
+			 * races with parallel PTE writes in which PTEs can be
+			 * cleared temporarily before being written new present
+			 * values. This will lead to a large folio is still
+			 * mapped while some subpages have been partially
+			 * unmapped after try_to_unmap; TTU_SYNC helps
+			 * try_to_unmap acquire PTL from the first PTE,
+			 * eliminating the influence of temporary PTE values.
 			 */
 			if (folio_test_large(folio) && list_empty(&folio->_deferred_list))
 				flags |= TTU_SYNC;
_

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

mm-hold-ptl-from-the-first-pte-while-reclaiming-a-large-folio.patch
sh-remove-use-of-pg_arch_1-on-individual-pages-fix.patch
mm-gup-drop-folio_fast_pin_allowed-in-hugepd-processing-fix.patch
mm-allow-anon-exclusive-check-over-hugetlb-tail-pages-fix.patch
arm-mm-drop-vm_fault_badmap-vm_fault_badaccess-checkpatch-fixes.patch
mm-hugetlb-rename-dissolve_free_huge_pages-to-dissolve_free_hugetlb_folios-fix.patch
__mod_memcg_lruvec_state-enhance-diagnostics.patch
__mod_memcg_lruvec_state-enhance-diagnostics-fix.patch
binfmt_elf_fdpic-fix-proc-pid-auxv-checkpatch-fixes.patch


                 reply	other threads:[~2024-04-26  3:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240426032151.D1BA8C113CD@smtp.kernel.org \
    --to=akpm@linux-foundation.org \
    --cc=mm-commits@vger.kernel.org \
    --cc=v-songbaohua@oppo.com \
    --cc=willy@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.