* [folded-merged] mm-huge_memory-bypass-thp-tuneables-for-huge-pfnmap-mappings-fix-2.patch removed from -mm tree
@ 2026-09-05 18:35 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2026-09-05 18:35 UTC (permalink / raw)
To: mm-commits, sj, saravanand, ryan.roberts, peterx, ljs, liam,
lance.yang, jgg, dev.jain, david, clg, baolin.wang, baohua, ziy,
akpm
The quilt patch titled
Subject: renames for Lorenzo's mm-huge_memory-bypass-thp-tuneables-for-huge-pfnmap-mappings patch
has been removed from the -mm tree. Its filename was
mm-huge_memory-bypass-thp-tuneables-for-huge-pfnmap-mappings-fix-2.patch
This patch was dropped because it was folded into mm-huge_memory-bypass-thp-tuneables-for-huge-pfnmap-mappings.patch
------------------------------------------------------
From: Zi Yan <ziy@nvidia.com>
Subject: renames for Lorenzo's mm-huge_memory-bypass-thp-tuneables-for-huge-pfnmap-mappings patch
Date: Sat, 29 Aug 2026 10:02:02 -0400
rename some functions
Link: https://lore.kernel.org/DL1HIHWYJ7TB.1CY76SJS0V03L@nvidia.com
Signed-off-by: Zi Yan <ziy@nvidia.com>
Cc: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: Barry Song <baohua@kernel.org>
Cc: Cedric Le Goater <clg@redhat.com>
Cc: David Hildenbrand <david@kernel.org>
Cc: Dev Jain <dev.jain@arm.com>
Cc: Jason Gunthorpe <jgg@ziepe.ca>
Cc: Lance Yang <lance.yang@linux.dev>
Cc: Liam R. Howlett <liam@infradead.org>
Cc: "Lorenzo Stoakes (ARM)" <ljs@kernel.org>
Cc: Peter Xu <peterx@redhat.com>
Cc: Ryan Roberts <ryan.roberts@arm.com>
Cc: Saravanan D <saravanand@crusoe.ai>
Cc: SJ Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/huge_memory.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
--- a/mm/huge_memory.c~mm-huge_memory-bypass-thp-tuneables-for-huge-pfnmap-mappings-fix-2
+++ a/mm/huge_memory.c
@@ -118,7 +118,7 @@ static bool vma_is_special_huge(const st
return vma_test_any(vma, VMA_PFNMAP_BIT, VMA_MIXEDMAP_BIT);
}
-static bool vma_bypass_thp_tuneables_file(const struct vm_area_struct *vma,
+static bool vma_file_bypass_thp_tuneables(const struct vm_area_struct *vma,
enum tva_type type)
{
const bool has_huge_fault = vma->vm_ops->huge_fault;
@@ -132,7 +132,7 @@ static bool vma_bypass_thp_tuneables_fil
return false;
}
-static bool vma_thp_tuneables_allow_file(vm_flags_t vm_flags)
+static bool vma_file_allow_thp_tuneables(vm_flags_t vm_flags)
{
/* THP=always? */
if (hugepage_global_always())
@@ -143,11 +143,11 @@ static bool vma_thp_tuneables_allow_file
return false;
}
-static bool vma_check_thp_tuneables_file(const struct vm_area_struct *vma,
+static bool vma_file_check_thp_tuneables(const struct vm_area_struct *vma,
vm_flags_t vm_flags, enum tva_type type)
{
- return vma_bypass_thp_tuneables_file(vma, type) ||
- vma_thp_tuneables_allow_file(vm_flags);
+ return vma_file_bypass_thp_tuneables(vma, type) ||
+ vma_file_allow_thp_tuneables(vm_flags);
}
static bool vma_can_map_huge_file(const struct vm_area_struct *vma,
@@ -159,7 +159,7 @@ static bool vma_can_map_huge_file(const
* Enforce THP collapse requirements as necessary. Anonymous vmas
* were already handled in thp_vma_allowable_orders().
*/
- if (!vma_check_thp_tuneables_file(vma, vm_flags, type))
+ if (!vma_file_check_thp_tuneables(vma, vm_flags, type))
return false;
switch (type) {
_
Patches currently in -mm which might be from ziy@nvidia.com are
mm-huge_memory-bypass-thp-tuneables-for-huge-pfnmap-mappings.patch
usb-gadgetfs-do-not-warn-about-excessively-large-memory-allocations.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-05 18:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-05 18:35 [folded-merged] mm-huge_memory-bypass-thp-tuneables-for-huge-pfnmap-mappings-fix-2.patch removed from -mm tree Andrew Morton
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.