diff mbox series

[3/4] mm/damon/core: remove per-scheme region priority histogram buffer

Message ID 20240826042323.87025-4-sj@kernel.org (mailing list archive)
State New
Headers show
Series replace per-quota region priorities histogram buffer with per-context one | expand

Commit Message

SeongJae Park Aug. 26, 2024, 4:23 a.m. UTC
Nobody is reading from or writing to the per-scheme region priorities
histogram buffer.  It is only wasting memory.  Remove it.

Signed-off-by: SeongJae Park <sj@kernel.org>
---
 include/linux/damon.h | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/include/linux/damon.h b/include/linux/damon.h
index 6342d8f9b0fd..0ac8b862bdcb 100644
--- a/include/linux/damon.h
+++ b/include/linux/damon.h
@@ -242,7 +242,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 */