Re: [PATCH 2/3] tools/testing: add PROCMAP_QUERY helper functions in mm self tests

From: Wei Yang
Date: Sun Apr 06 2025 - 22:42:24 EST


On Mon, Mar 17, 2025 at 09:15:04PM +0000, Lorenzo Stoakes wrote:
>The PROCMAP_QUERY ioctl() is very useful - it allows for binary access to
>/proc/$pid/[s]maps data and thus convenient lookup of data contained there.
>
>This patch exposes this for convenient use by mm self tests so the state of
>VMAs can easily be queried.
>
>Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@xxxxxxxxxx>

Reviewed-by: Wei Yang <richard.weiyang@xxxxxxxxx>