Re: [PATCH v16 06/14] mm/damon: Implement callbacks for the virtual memory address spaces

From: Leonard Foerster
Date: Thu Jun 18 2020 - 05:24:07 EST


On 2020-06-15T18:19:19+02:00 SeongJae Park <sjpark@xxxxxxxxxx> wrote:

> From: SeongJae Park <sjpark@xxxxxxxxx>
>
> This commit implements the four essential callbacks of DAMON,
> '->init_target_regions', '->update_target_regions',
> '->prepare_access_checks', and '->check_accesses' for virtual memory
> address spaces. Those internally use PTE Accessed bit. Using these
> callbacks, users can easily monitor the virtual address space data
> accesses of specific processes. Nonetheless, these are just reference
> implementations. Users can implement and use their own callbacks for
> their special use case, if required.
>
> Signed-off-by: SeongJae Park <sjpark@xxxxxxxxx>
> ---

Reviewed-by: Leonard Foerster <foersleo@xxxxxxxxx>