Re: [PATCH v5 09/14] perf bench mem: Add mmap() workloads

From: Ankur Arora
Date: Tue Jul 15 2025 - 22:40:39 EST



Namhyung Kim <namhyung@xxxxxxxxxx> writes:

> On Wed, Jul 09, 2025 at 05:59:21PM -0700, Ankur Arora wrote:
>> Add two mmap() workloads: one that eagerly populates a region and
>> another that demand faults it in.
>>
>> The intent is to probe the memory subsytem performance incurred
>> by mmap().
>
> Maybe better to name 'mmap' as other tests named after the actual
> function.

That's true. My reason for not doing it was that these tests were
oriented towards testing the memory subsystem instead of the system
call itself.

But I guess "map" is not a good name either. Any suggestions?

> Also please update the documentation.

Will do.

Thanks
Ankur