Skip to contentSkip to conversation

mm-damon-reclaim-change-damon_reclaim_wmarks-to-static.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Oct 3, 2022

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm/damon/reclaim: change damon_reclaim_wmarks to static
has been removed from the -mm tree. Its filename was
mm-damon-reclaim-change-damon_reclaim_wmarks-to-static.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: Yang Yingliang <[email protected]>
Subject: mm/damon/reclaim: change damon_reclaim_wmarks to static
Date: Thu, 15 Sep 2022 10:10:23 +0800

damon_reclaim_wmarks is only used in reclaim.c now, change it to static.

Fixes 89dd02d8abd1 ("mm/damon/reclaim: use watermarks parameters generator macro")

---

 mm/damon/reclaim.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/damon/reclaim.c renamed from mm/damon/reclaim.c~mm-damon-reclaim-change-damon_reclaim_wmarks-to-static +1 -1
@@ -64,7 +64,7 @@ static struct damos_quota damon_reclaim_
 };
 DEFINE_DAMON_MODULES_DAMOS_QUOTAS(damon_reclaim_quota);
 
-struct damos_watermarks damon_reclaim_wmarks = {
+static struct damos_watermarks damon_reclaim_wmarks = {
 	.metric = DAMOS_WMARK_FREE_MEM_RATE,
 	.interval = 5000000,	/* 5 seconds */
 	.high = 500,		/* 50 percent */

_

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