Skip to contentSkip to conversation

mm-demotion-add-hotplug-callbacks-to-handle-new-numa-node-onlined.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Sep 27, 2022

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm/demotion: add hotplug callbacks to handle new numa node onlined
has been removed from the -mm tree. Its filename was
mm-demotion-add-hotplug-callbacks-to-handle-new-numa-node-onlined.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: "Aneesh Kumar K.V" <[email protected]>
Subject: mm/demotion: add hotplug callbacks to handle new numa node onlined
Date: Thu, 18 Aug 2022 18:40:35 +0530

If the new NUMA node onlined doesn't have a abstract distance assigned, the kernel adds the NUMA node to default memory tier.

[[email protected]: fix kernel error with memory hotplug]
Cc Alistair Popple <[email protected]>
Cc Bharata B Rao <[email protected]>
Cc Dan Williams <[email protected]>
Cc Dave Hansen <[email protected]>
Cc Davidlohr Bueso <[email protected]>
Cc Hesham Almatary <[email protected]>
Cc Jagdish Gediya <[email protected]>
Cc Johannes Weiner <[email protected]>
Cc Jonathan Cameron <[email protected]>
Cc Michal Hocko <[email protected]>
Cc Tim Chen <[email protected]>
Cc Yang Shi <[email protected]>
Cc SeongJae Park <[email protected]>

---

 include/linux/memory-tiers.h |    1 
 mm/memory-tiers.c            |   68 +++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)
include/linux/memory-tiers.h renamed from include/linux/memory-tiers.h~mm-demotion-add-hotplug-callbacks-to-handle-new-numa-node-onlined +1 -0
@@ -14,6 +14,7 @@
  * the same memory tier.
  */
 #define MEMTIER_ADISTANCE_DRAM	((4 * MEMTIER_CHUNK_SIZE) + (MEMTIER_CHUNK_SIZE >> 1))
+#define MEMTIER_HOTPLUG_PRIO	100
 
 #ifdef CONFIG_NUMA
 #include <linux/types.h>
mm/memory-tiers.c renamed from mm/memory-tiers.c~mm-demotion-add-hotplug-callbacks-to-handle-new-numa-node-onlined +68 -0

86 lines not on this page · raw message

_

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