From: SeongJae Park Date: Mon, 26 Aug 2024 04:23:22 +0000 (-0700) Subject: mm/damon/core: remove per-scheme region priority histogram buffer X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=e3bcb1672583f2e1cf456e4303ce562a3cc775c0;p=users%2Fjedix%2Flinux-maple.git 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 Signed-off-by: Andrew Morton --- 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 */