Re: [PATCH 0/9] mm/madvise: batch tlb flushes for MADV_DONTNEED and MADV_FREE
From: Andrew Morton
Date: Mon Mar 10 2025 - 18:39:49 EST
On Mon, 10 Mar 2025 10:23:09 -0700 SeongJae Park <sj@xxxxxxxxxx> wrote:
> It is unclear if such use case
> is common and the inefficiency is significant.
Well, we could conduct a survey,
Can you add some logging to detect when userspace performs such an
madvise() call, then run that kernel on some "typical" machines which
are running "typical" workloads? That should give us a feeling for how
often userspace does this, and hence will help us understand the usefulness
of this patchset.