Re: [PATCH mm-unstable v1 1/7] mm: multi-gen LRU: section for working set protection

From: Matthew Wilcox
Date: Tue Jan 17 2023 - 20:08:22 EST


On Wed, Jan 18, 2023 at 12:18:21AM +0000, T.J. Alumbaugh wrote:
> +++ b/mm/vmscan.c
> @@ -4475,6 +4475,10 @@ static bool try_to_inc_max_seq(struct lruvec *lruvec, unsigned long max_seq,
> return true;
> }
>
> +/******************************************************************************
> + * working set protection
> + ******************************************************************************/
> +
> static bool lruvec_is_sizable(struct lruvec *lruvec, struct scan_control *sc)

We don't usually do this. Why do you want to?