Commit e47b0825 authored by Yang Yingliang's avatar Yang Yingliang Committed by Andrew Morton

mm/damon/lru_sort: change damon_lru_sort_wmarks to static

damon_lru_sort_wmarks is only used in lru_sort.c now, change it to static.

Link: https://lkml.kernel.org/r/20220915021024.4177940-2-yangyingliang@huawei.com
Fixes: 189aa3d58206 ("mm/damon/lru_sort: use watermarks parameters generator macro")
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Reviewed-by: default avatarSeongJae Park <sj@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 81f8f57f
...@@ -77,7 +77,7 @@ static struct damos_quota damon_lru_sort_quota = { ...@@ -77,7 +77,7 @@ static struct damos_quota damon_lru_sort_quota = {
}; };
DEFINE_DAMON_MODULES_DAMOS_TIME_QUOTA(damon_lru_sort_quota); DEFINE_DAMON_MODULES_DAMOS_TIME_QUOTA(damon_lru_sort_quota);
struct damos_watermarks damon_lru_sort_wmarks = { static struct damos_watermarks damon_lru_sort_wmarks = {
.metric = DAMOS_WMARK_FREE_MEM_RATE, .metric = DAMOS_WMARK_FREE_MEM_RATE,
.interval = 5000000, /* 5 seconds */ .interval = 5000000, /* 5 seconds */
.high = 200, /* 20 percent */ .high = 200, /* 20 percent */
......
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