aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSeongJae Park <[email protected]>2024-08-25 21:23:22 -0700
committerAndrew Morton <[email protected]>2024-09-09 16:39:00 -0700
commite3bcb1672583f2e1cf456e4303ce562a3cc775c0 (patch)
tree1159827b9d25200d3058a69b5830cbcd54d16170 /include/linux
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/[email protected] Signed-off-by: SeongJae Park <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include/linux')
-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 */