summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2024-08-25 21:23:22 -0700
committerAndrew Morton <akpm@linux-foundation.org>2024-09-09 16:39:00 -0700
commite3bcb1672583f2e1cf456e4303ce562a3cc775c0 (patch)
tree1159827b9d25200d3058a69b5830cbcd54d16170
parent304b95847f2852070a692beef10c98f5e36af631 (diff)
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 */