[PATCH v1 5/5] misc: fastrpc: Add missing unmapping user-requested remote heap
Dmitry Baryshkov
dmitry.baryshkov at oss.qualcomm.com
Mon May 19 10:52:31 UTC 2025
On Tue, May 13, 2025 at 09:58:25AM +0530, Ekansh Gupta wrote:
> User request for remote heap allocation is supported using ioctl
> interface but support for unmap is missing. This could result in
> memory leak issues. Add unmap user request support for remote heap.
Can this memory be in use by the remote proc?
>
> Fixes: 532ad70c6d449 ("misc: fastrpc: Add mmap request assigning for static PD pool")
> Cc: stable at kernel.org
> Signed-off-by: Ekansh Gupta <ekansh.gupta at oss.qualcomm.com>
> ---
> drivers/misc/fastrpc.c | 62 ++++++++++++++++++++++++++++++++++--------
> 1 file changed, 51 insertions(+), 11 deletions(-)
>
--
With best wishes
Dmitry
More information about the dri-devel
mailing list