Re: [PATCH v2] prctl: Get private anonymous memory region name

From: Oleg Nesterov
Date: Sun Nov 26 2023 - 08:58:21 EST


On 11/26, Rong Tao wrote:
>
> then the PR_GET_VMA interface should be provided accordingly,
> which is necessary, as the userspace program usually wants to know what
> VMA name it has configured for the anonymous page.

I don't really understand the use-case for PR_GET_VMA ...

But the patch looks reasonable and correct to me.

Reviewed-by: Oleg Nesterov <oleg@xxxxxxxxxx>