Re: [RFC v4 2/7] mm/damon: Account age of target regions

From: Rik van Riel
Date: Wed Mar 04 2020 - 10:21:48 EST


On Tue, 2020-03-03 at 13:14 +0100, SeongJae Park wrote:
> From: SeongJae Park <sjpark@xxxxxxxxx>

> --- a/mm/damon.c
> +++ b/mm/damon.c
> @@ -87,6 +87,10 @@ static struct damon_region
> *damon_new_region(struct damon_ctx *ctx,
> ret->sampling_addr = damon_rand(ctx, vm_start, vm_end);
> INIT_LIST_HEAD(&ret->list);
>
> + ret->age = 0;
> + ret->last_vm_start = vm_start;
> + ret->last_vm_end = vm_end;

Wait, what tree is this supposed to apply against?

I see no mm/damon.c file in current Linus upstream.

--
All Rights Reversed.

Attachment: signature.asc
Description: This is a digitally signed message part