aboutsummaryrefslogtreecommitdiffstats
path: root/patches/next/mm-damon-core-add-debugging-purpose-log-of-tuned-esz.patch
blob: 8338913391801370ee1e95295bb99cd573211b8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From f28746a30194f729177a88467df711d09a8e560e Mon Sep 17 00:00:00 2001
From: SeongJae Park <sj@kernel.org>
Date: Sat, 11 Nov 2023 19:36:03 +0000
Subject: [PATCH] mm/damon/core: add debugging-purpose log of tuned esz

Signed-off-by: SeongJae Park <sj@kernel.org>
---
 mm/damon/core.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/mm/damon/core.c b/mm/damon/core.c
index d2505528bd6d3..bce67059c67ad 100644
--- a/mm/damon/core.c
+++ b/mm/damon/core.c
@@ -1256,6 +1256,8 @@ static void damos_set_effective_quota(struct damos_quota *quota)
 		esz = quota->sz;
 
 	quota->esz = esz;
+
+	pr_info("esz %lu\n", esz);
 }
 
 static void damos_adjust_quota(struct damon_ctx *c, struct damos *s)
-- 
2.39.2