lkml.org 
[lkml]   [2020]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v16 05/14] mm/damon: Allow dynamic monitoring target regions update
Date
On 2020-06-15T18:19:18+02:00 SeongJae Park <sjpark@amazon.com> wrote:

> From: SeongJae Park <sjpark@amazon.de>
>
> The monitoring target regions can be dynamically changed. For example,
> virtual memory mapping could be dynamically updated and physical memory
> could be hot-plugged.
>
> To handle such cases, this commit adds a monitoring attribute, ``regions
> update interval`` and a callback ``init_target_regions`` in the
> monitoring context. If the two fields are properly set, DAMON will call
> the ``init_target_regions()`` callback for every ``regions update
> interval``. In the callback, users can check current memory mapping or
> hotplugged physical memory sections and appropriately update the
> monitoring target regions of the context.
>
> Signed-off-by: SeongJae Park <sjpark@amazon.de>
> ---

Reviewed-by: Leonard Foerster <foersleo@amazon.de>

\
 
 \ /
  Last update: 2020-06-18 11:25    [W:1.879 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site