mm-damon-api-introduce-damon_filter_type_hugepage_size.patch removed from -mm tree
The quilt patch titled
Subject: mm/damon/api: introduce DAMON_FILTER_TYPE_HUGEPAGE_SIZE
has been removed from the -mm tree. Its filename was
mm-damon-api-introduce-damon_filter_type_hugepage_size.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: SJ Park <[email protected]>
Subject: mm/damon/api: introduce DAMON_FILTER_TYPE_HUGEPAGE_SIZE
Date: Tue, 15 Sep 2026 07:33:50 -0700
Patch series "mm/damon: introduce hugepage_size probe filter".
Knowing whether a given memory is backed by a hugepage of specific size is useful for efficient utilization of hugepages. For easy monitoring of the information, introduce a new data attribute probe filter type, hugepage_size. It works similar to the DAMOS filter of the same name. It works for memory that is backed by a hugepage of a given size range.
Patch 1 introduces the new probe filter type to DAMON API and extends related data structures. Patch 2 updates probe filter commit logic to handle the size range. Patch 3 Updates the filtering logic to support the new type. Patch 4 adds new DAMON sysfs files for the size range. Patch 5 updates DAMON sysfs interface to fully support the new filter type. Patches 6-8 updates design, usage and ABI documents for the new feature.
This patch (of 8):
Introduce a new data attribute probe filter type, hugepage_size. It will work for memory that is backed by a hugepage of a given size range. Add a new damon_filter_type enum DAMON_FILTER_TYPE_HUGEPAGE_SIZE to identify the type. Add two new fields in the damon_filter struct for saving the size range.
---
include/linux/damon.h | 8 ++++++++ 1 file changed, 8 insertions(+)
include/linux/damon.h renamed from include/linux/damon.h~mm-damon-api-introduce-damon_filter_type_hugepage_size +8 -0
@@ -783,12 +783,14 @@ struct damon_prep {* @DAMON_FILTER_TYPE_MEMCG: Specific memcg's pages. * @DAMON_FILTER_TYPE_PGIDLE_UNSET: Pgidle is unset. * @DAMON_FILTER_TYPE_PGIDLE_SET: Pgidle is set. +* @DAMON_FILTER_TYPE_HUGEPAGE_SIZE: Page is part of a hugepage. */ enum damon_filter_type {DAMON_FILTER_TYPE_ANON ,DAMON_FILTER_TYPE_MEMCG ,DAMON_FILTER_TYPE_PGIDLE_UNSET ,DAMON_FILTER_TYPE_PGIDLE_SET , +DAMON_FILTER_TYPE_HUGEPAGE_SIZE , };/**
@@ -798,6 +800,8 @@ enum damon_filter_type {* @matching: Whether this filter is for the type-matching ones. * @allow: Whether the @type-@matching ones should pass this filter. * @memcg_id: Memcg id of the question if @type is DAMON_FILTER_MEMCG. +* @range_min: Minimum value of range arguments. +* @range_max: Maximum value of range arguments. */ struct damon_filter {enum damon_filter_type type;
@@ -805,6 +809,10 @@ struct damon_filter {bool allow;union {u64 memcg_id; +struct { +unsigned long range_min; +unsigned long range_max; + }; };/* private: */ /* Siblings list. */
_
Patches currently in -mm which might be from [email protected] are
mm-damon-core-introduce-damos_quota_goal-complement.patch mm-damon-core-add-complement-argument-to-damos_new_quota_goal.patch mm-damon-sysfs-schemes-support-quota-goal-complement-flag.patch mm-damon-tests-core-kunit-test-quota_goal-complement-commit.patch selftests-damon-sysfssh-test-quota-goal-complement-flag-file.patch docs-mm-damon-design-document-damos-quota-goal-complement-flag.patch docs-admin-guide-mm-damon-usage-update-for-quota-goal-complement-file.patch docs-abi-damon-update-for-quota-goal-metric-complement-sysfs-file.patch