Hi Yang, On Thu, 15 Sep 2022 10:10:23 +0800 Yang Yingliang <yangyingliang@xxxxxxxxxx> wrote: > damon_reclaim_wmarks is only used in reclaim.c now, change it to static. > > Fixes: 89dd02d8abd1 ("mm/damon/reclaim: use watermarks parameters generator macro") > Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx> Reviewed-by: SeongJae Park <sj@xxxxxxxxxx> > --- > mm/damon/reclaim.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/mm/damon/reclaim.c b/mm/damon/reclaim.c > index 1acf808e1624..039fa55e0ae9 100644 > --- a/mm/damon/reclaim.c > +++ b/mm/damon/reclaim.c > @@ -64,7 +64,7 @@ static struct damos_quota damon_reclaim_quota = { > }; > DEFINE_DAMON_MODULES_DAMOS_QUOTAS(damon_reclaim_quota); > > -struct damos_watermarks damon_reclaim_wmarks = { > +static struct damos_watermarks damon_reclaim_wmarks = { > .metric = DAMOS_WMARK_FREE_MEM_RATE, > .interval = 5000000, /* 5 seconds */ > .high = 500, /* 50 percent */ > -- > 2.25.1 > >