samples-damon-implement-a-damon-module-for-memory-tiering.patch removed from -mm tree
The quilt patch titled
Subject: samples/damon: implement a DAMON module for memory tiering
has been removed from the -mm tree. Its filename was
samples-damon-implement-a-damon-module-for-memory-tiering.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: SeongJae Park <[email protected]>
Subject: samples/damon: implement a DAMON module for memory tiering
Date: Sun, 20 Apr 2025 12:40:30 -0700
Implement a sample DAMON module that shows how self-tuned DAMON-based memory tiering can be written. It is a sample since the purpose is to give an idea about how it can be implemented and perform, rather than be used on general production setups. Especially, it supports only two tiers memory setup having only one CPU-attached NUMA node.
---
samples/Makefile | 1 samples/damon/Kconfig | 13 ++ samples/damon/Makefile | 1 samples/damon/mtier.c | 178 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 193 insertions(+)
samples/damon/Kconfig renamed from samples/damon/Kconfig~samples-damon-implement-a-damon-module-for-memory-tiering +13 -0
@@ -27,4 +27,17 @@ config SAMPLE_DAMON_PRCL If unsure, say N. +config SAMPLE_DAMON_MTIER + bool "DAMON sample module for memory tiering" + depends on DAMON && DAMON_PADDR + help + Thps builds DAMON sample module for memory tierign. + + The module assumes the system is constructed with two NUMA nodes, + which seems as local and remote nodes to all CPUs. For example, + node0 is for DDR5 DRAMs connected via DIMM, while node1 is for DDR4 + DRAMs connected via CXL. + + If unsure, say N. + endmenu
samples/damon/Makefile renamed from samples/damon/Makefile~samples-damon-implement-a-damon-module-for-memory-tiering +1 -0
@@ -2,3 +2,4 @@ obj-$(CONFIG_SAMPLE_DAMON_WSSE) += wsse.o obj-$(CONFIG_SAMPLE_DAMON_PRCL) += prcl.o +obj-$(CONFIG_SAMPLE_DAMON_MTIER) += mtier.o
samples/damon/mtier.c new file +178 -0
178 lines not on this page · raw message
samples/Makefile renamed from samples/Makefile~samples-damon-implement-a-damon-module-for-memory-tiering +1 -0
@@ -42,4 +42,5 @@ obj-$(CONFIG_SAMPLE_FPROBE) += fprobe/ obj-$(CONFIG_SAMPLES_RUST) += rust/ obj-$(CONFIG_SAMPLE_DAMON_WSSE) += damon/ obj-$(CONFIG_SAMPLE_DAMON_PRCL) += damon/ +obj-$(CONFIG_SAMPLE_DAMON_MTIER) += damon/ obj-$(CONFIG_SAMPLE_HUNG_TASK) += hung_task/
_
Patches currently in -mm which might be from [email protected] are
mm-damon-core-warn-and-fix-nr_accesses-corruption.patch mm-damon-sysfs-schemes-fix-wrong-comment-on-damons_sysfs_quota_goal_metric_strs.patch mm-damon-paddr-remove-unused-variable-folio_list-in-damon_pa_stat.patch mm-damon-tests-core-kunit-add-a-test-for-damos_set_filters_default_reject.patch selftests-damon-_damon_sysfs-read-tried-regions-directories-in-order.patch docs-damon-update-titles-and-brief-introductions-to-explain-damos.patch