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

From: Alexey Dobriyan
Date: Wed Jul 24 2024 - 12:32:29 EST


On Thu, Jul 11, 2024 at 02:07:18PM -0400, Liam R. Howlett wrote:
> * Andrii Nakryiko <andrii@xxxxxxxxxx> [240627 13:09]:
> > 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.
> >
>
> Thanks for doing this Andrii. It looks to be a step forward for a lot
> of use cases.

Yes, looks like ioctl on text files are the way to go. :-)