Skip to contentSkip to conversation

mm-percpu-increase-percpu_module_reserve-to-accommodate-allocation-tags.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Apr 26, 2024

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm: percpu: increase PERCPU_MODULE_RESERVE to accommodate allocation tags
has been removed from the -mm tree. Its filename was
mm-percpu-increase-percpu_module_reserve-to-accommodate-allocation-tags.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Suren Baghdasaryan <[email protected]>
Subject: mm: percpu: increase PERCPU_MODULE_RESERVE to accommodate allocation tags
Date: Thu, 21 Mar 2024 09:36:38 -0700

As each allocation tag generates a per-cpu variable, more space is required to store them. Increase PERCPU_MODULE_RESERVE to provide enough area. A better long-term solution would be to allocate this memory dynamically.

[[email protected]: increase PERCPU_MODULE_RESERVE to accommodate allocation tags]
Cc Peter Zijlstra <[email protected]>
Cc Tejun Heo <[email protected]>
Cc Alexander Viro <[email protected]>
Cc Alex Gaynor <[email protected]>
Cc Alice Ryhl <[email protected]>
Cc Andreas Hindborg <[email protected]>
Cc Benno Lossin <[email protected]>
Cc "Björn Roy Baron" <[email protected]>
Cc Boqun Feng <[email protected]>
Cc Christoph Lameter <[email protected]>
Cc Dennis Zhou <[email protected]>
Cc Gary Guo <[email protected]>
Cc Miguel Ojeda <[email protected]>
Cc Pasha Tatashin <[email protected]>
Cc Vlastimil Babka <[email protected]>
Cc Wedson Almeida Filho <[email protected]>

---

 include/linux/percpu.h |    4 ++++
 1 file changed, 4 insertions(+)
include/linux/percpu.h renamed from include/linux/percpu.h~mm-percpu-increase-percpu_module_reserve-to-accommodate-allocation-tags +4 -0
@@ -14,7 +14,11 @@
 
 /* enough to cover all DEFINE_PER_CPUs in modules */
 #ifdef CONFIG_MODULES
+#ifdef CONFIG_MEM_ALLOC_PROFILING
+#define PERCPU_MODULE_RESERVE		(8 << 13)
+#else
 #define PERCPU_MODULE_RESERVE		(8 << 10)
+#endif
 #else
 #define PERCPU_MODULE_RESERVE		0
 #endif

_

Patches currently in -mm which might be from [email protected] are

userfaultfd-remove-write_once-when-setting-folio-index-during-uffdio_move.patch