[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1592472225-22768-1-git-send-email-foersleo@amazon.com>
Date: Thu, 18 Jun 2020 11:23:45 +0200
From: Leonard Foerster <foersleo@...zon.com>
To: SeongJae Park <sjpark@...zon.com>
Cc: akpm@...ux-foundation.org, SeongJae Park <sjpark@...zon.de>,
Jonathan.Cameron@...wei.com, aarcange@...hat.com, acme@...nel.org,
alexander.shishkin@...ux.intel.com, amit@...nel.org,
benh@...nel.crashing.org, brendan.d.gregg@...il.com,
brendanhiggins@...gle.com, cai@....pw, colin.king@...onical.com,
corbet@....net, dwmw@...zon.com, foersleo@...zon.de,
irogers@...gle.com, jolsa@...hat.com, kirill@...temov.name,
mark.rutland@....com, mgorman@...e.de, minchan@...nel.org,
mingo@...hat.com, namhyung@...nel.org, peterz@...radead.org,
rdunlap@...radead.org, riel@...riel.com, rientjes@...gle.com,
rostedt@...dmis.org, sblbir@...zon.com, shakeelb@...gle.com,
shuah@...nel.org, sj38.park@...il.com, snu@...zon.de,
vbabka@...e.cz, vdavydov.dev@...il.com, yang.shi@...ux.alibaba.com,
ying.huang@...el.com, david@...hat.com, linux-damon@...zon.com,
linux-mm@...ck.org, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v16 05/14] mm/damon: Allow dynamic monitoring target regions update
On 2020-06-15T18:19:18+02:00 SeongJae Park <sjpark@...zon.com> wrote:
> From: SeongJae Park <sjpark@...zon.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@...zon.de>
> ---
Reviewed-by: Leonard Foerster <foersleo@...zon.de>
Powered by blists - more mailing lists