Commit e3bcb167 authored by SeongJae Park's avatar SeongJae Park Committed by Andrew Morton

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.orgSigned-off-by: default avatarSeongJae Park <sj@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 304b9584
...@@ -233,7 +233,6 @@ struct damos_quota { ...@@ -233,7 +233,6 @@ struct damos_quota {
unsigned long charge_addr_from; unsigned long charge_addr_from;
/* For prioritization */ /* For prioritization */
unsigned long histogram[DAMOS_MAX_SCORE + 1];
unsigned int min_score; unsigned int min_score;
/* For feedback loop */ /* For feedback loop */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment