[folded-merged] mm-hugetlb-simplify-refs-in-memfd_alloc_folio-v2.patch removed from -mm tree

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

 



The quilt patch titled
     Subject: mm-hugetlb-simplify-refs-in-memfd_alloc_folio-v2
has been removed from the -mm tree.  Its filename was
     mm-hugetlb-simplify-refs-in-memfd_alloc_folio-v2.patch

This patch was dropped because it was folded into mm-hugetlb-simplify-refs-in-memfd_alloc_folio.patch

------------------------------------------------------
From: Steve Sistare <steven.sistare@xxxxxxxxxx>
Subject: mm-hugetlb-simplify-refs-in-memfd_alloc_folio-v2
Date: Wed, 4 Sep 2024 13:32:00 -0700

remove explicit call to free_huge_folio(), per Matthew

Link: https://lkml.kernel.org/r/Zti-7nPVMcGgpcbi@xxxxxxxxxxxxxxxxxxxx
Link: https://lkml.kernel.org/r/1725481920-82506-1-git-send-email-steven.sistare@xxxxxxxxxx
Fixes: 89c1905d9c14 ("mm/gup: introduce memfd_pin_folios() for pinning memfd folios")
Signed-off-by: Steve Sistare <steven.sistare@xxxxxxxxxx>
Suggested-by: Vivek Kasireddy <vivek.kasireddy@xxxxxxxxx>
Suggested-by: Matthew Wilcox <willy@xxxxxxxxxxxxx>
Cc: David Hildenbrand <david@xxxxxxxxxx>
Cc: Jason Gunthorpe <jgg@xxxxxxxxxx>
Cc: Muchun Song <muchun.song@xxxxxxxxx>
Cc: Peter Xu <peterx@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/memfd.c |    1 -
 1 file changed, 1 deletion(-)

--- a/mm/memfd.c~mm-hugetlb-simplify-refs-in-memfd_alloc_folio-v2
+++ a/mm/memfd.c
@@ -95,7 +95,6 @@ struct folio *memfd_alloc_folio(struct f
 							idx);
 			if (err) {
 				folio_put(folio);
-				free_huge_folio(folio);
 				return ERR_PTR(err);
 			}
 			folio_unlock(folio);
_

Patches currently in -mm which might be from steven.sistare@xxxxxxxxxx are

mm-filemap-fix-filemap_get_folios_contig-thp-panic.patch
mm-hugetlb-fix-memfd_pin_folios-free_huge_pages-leak.patch
mm-hugetlb-fix-memfd_pin_folios-resv_huge_pages-leak.patch
mm-gup-fix-memfd_pin_folios-hugetlb-page-allocation.patch
mm-gup-fix-memfd_pin_folios-alloc-race-panic.patch
mm-hugetlb-simplify-refs-in-memfd_alloc_folio.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