+ mm-fix-finish_fault-handling-for-large-folios-v3.patch added to mm-hotfixes-unstable branch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: mm-fix-finish_fault-handling-for-large-folios-v3
has been added to the -mm mm-hotfixes-unstable branch.  Its filename is
     mm-fix-finish_fault-handling-for-large-folios-v3.patch

This patch will shortly appear at
     https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-fix-finish_fault-handling-for-large-folios-v3.patch

This patch will later appear in the mm-hotfixes-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: Brian Geffon <bgeffon@xxxxxxxxxx>
Subject: mm-fix-finish_fault-handling-for-large-folios-v3
Date: Thu, 27 Feb 2025 08:32:36 -0500

tweak whitespace

Link: https://lkml.kernel.org/r/20250227133236.1296853-1-bgeffon@xxxxxxxxxx
Signed-off-by: Brian Geffon <bgeffon@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

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

--- a/mm/memory.c~mm-fix-finish_fault-handling-for-large-folios-v3
+++ a/mm/memory.c
@@ -5229,7 +5229,7 @@ fallback:
 	 * inflating the RSS of the process.
 	 */
 	if (!vma_is_anon_shmem(vma) || unlikely(userfaultfd_armed(vma)) ||
-			unlikely(needs_fallback)) {
+	    unlikely(needs_fallback)) {
 		nr_pages = 1;
 	} else if (nr_pages > 1) {
 		pgoff_t idx = folio_page_idx(folio, page);
_

Patches currently in -mm which might be from bgeffon@xxxxxxxxxx are

mm-fix-finish_fault-handling-for-large-folios.patch
mm-fix-finish_fault-handling-for-large-folios-v3.patch





[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux