summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2024-08-26 06:23:22 +0200
committerAndrew Morton <akpm@linux-foundation.org>2024-09-10 01:39:00 +0200
commite3bcb1672583f2e1cf456e4303ce562a3cc775c0 (patch)
tree1159827b9d25200d3058a69b5830cbcd54d16170
parentmm/damon/core: replace per-quota regions priority histogram buffer usage with... (diff)
downloadlinux-e3bcb1672583f2e1cf456e4303ce562a3cc775c0.tar.xz
linux-e3bcb1672583f2e1cf456e4303ce562a3cc775c0.zip
mm/damon/core: remove per-scheme region priority histogram buffer
Nobody is reading from or writing to the per-scheme region priorities histogram buffer. It is only wasting memory. Remove it. Link: https://lkml.kernel.org/r/20240826042323.87025-4-sj@kernel.org Signed-off-by: SeongJae Park <sj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r--include/linux/damon.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/damon.h b/include/linux/damon.h
index 60cb8eada3d6..a67f2c4940e9 100644
--- a/include/linux/damon.h
+++ b/include/linux/damon.h
@@ -233,7 +233,6 @@ struct damos_quota {
unsigned long charge_addr_from;
/* For prioritization */
- unsigned long histogram[DAMOS_MAX_SCORE + 1];
unsigned int min_score;
/* For feedback loop */