mm-damon-sysfs-use-only-quota-goals.patch removed from -mm tree
The quilt patch titled
Subject: mm/damon/sysfs: use only quota->goals
has been removed from the -mm tree. Its filename was
mm-damon-sysfs-use-only-quota-goals.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: mm/damon/sysfs: use only quota->goals
Date: Mon, 19 Feb 2024 11:44:20 -0800
DAMON sysfs interface implements multiple quota auto-tuning goals on its level since the DAMOS core logic was supporting only single goal. Now the core logic supports multiple goals on its level. Update DAMON sysfs interface to reuse the core logic and drop unnecessary duplicated multiple goals implementation.
---
mm/damon/sysfs-common.h | 2 - mm/damon/sysfs-schemes.c | 49 ++++++++++++++++++++++++------------- mm/damon/sysfs.c | 3 -- 3 files changed, 35 insertions(+), 19 deletions(-)
mm/damon/sysfs.c renamed from mm/damon/sysfs.c~mm-damon-sysfs-use-only-quota-goals +1 -2
@@ -1377,8 +1377,7 @@ static int damon_sysfs_commit_schemes_qu ctx = sysfs_kdamond->damon_ctx; sysfs_ctx = sysfs_kdamond->contexts->contexts_arr[0 ]; -damos_sysfs_set_quota_scores (sysfs_ctx->schemes, ctx); -return 0 ; +return damos_sysfs_set_quota_scores (sysfs_ctx->schemes, ctx); }/*
mm/damon/sysfs-common.h renamed from mm/damon/sysfs-common.h~mm-damon-sysfs-use-only-quota-goals +1 -1
@@ -59,7 +59,7 @@ int damon_sysfs_schemes_clear_regions(struct damon_sysfs_schemes *sysfs_schemes, struct damon_ctx *ctx); -void damos_sysfs_set_quota_scores (struct damon_sysfs_schemes *sysfs_schemes, +int damos_sysfs_set_quota_scores (struct damon_sysfs_schemes *sysfs_schemes,struct damon_ctx *ctx); void damos_sysfs_update_effective_quotas(
mm/damon/sysfs-schemes.c renamed from mm/damon/sysfs-schemes.c~mm-damon-sysfs-use-only-quota-goals +33 -16
99 lines not on this page · raw message
_
Patches currently in -mm which might be from [email protected] are