Re: Re: Re: [PATCH v2 0/9] Introduce Data Access MONitor (DAMON)

From: Peter Zijlstra
Date: Wed Jan 29 2020 - 13:07:57 EST


On Wed, Jan 29, 2020 at 03:37:58PM +0100, sjpark@xxxxxxxxxx wrote:
> On Wed, 29 Jan 2020 13:56:15 +0100 Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> > On Tue, Jan 28, 2020 at 01:00:33PM +0100, sjpark@xxxxxxxxxx wrote:
> >
> > > I worried whether it could be a bother to send the mail to everyone in the
> > > section, but seems it was an unnecessary worry. Adding those to recipients.
> > > You can get the original thread of this patchset from
> > > https://lore.kernel.org/linux-mm/20200128085742.14566-1-sjpark@xxxxxxxxxx/
> >
> > I read first patch (the document) and still have no friggin clue.
>
> Do you mean the document has insufficient description only? If so, could you
> please point me me which information do you want to be added?

There was a lot of words; but I'm still not sure what it actually does.

I've read some of the code that followed; is it simply sampling the
page-table access bit? It did some really weird things though, like that
whole 3 regions thing.

Also, you wrote you wanted feedback from perf people; but it doesn't use
perf, what are you asking?

Perf can do address based sampling of memops, I suspect you can create
something using that.