Re: [PATCH v6 0/6] ioctl()-based API to query VMAs from /proc/<pid>/maps

From: Andrew Morton
Date: Thu Jun 27 2024 - 16:00:02 EST


On Thu, 27 Jun 2024 10:08:52 -0700 Andrii Nakryiko <andrii@xxxxxxxxxx> wrote:

> Implement binary ioctl()-based interface to /proc/<pid>/maps file to allow
> applications to query VMA information more efficiently than reading *all* VMAs
> nonselectively through text-based interface of /proc/<pid>/maps file.

I appreciate the usefulness for monitoring large fleets, so I'll add
this version to mm-unstable. As we're almost at -rc6 I'll await
further review before deciding on the next steps.

Is it possible/sensible to make this feature Kconfigurable so that people who
don't need it can omit it?