[LTP] [PATCH v3] userfaultfd: Add test using UFFDIO_POISON

Andrea Cervesato andrea.cervesato@suse.com
Thu Feb 19 12:37:11 CET 2026


> Technically all memory is released when last reference to it is removed,
> which happens on process exit. So no mmaped() memory is not going to
> leak.
>

Yes, still, we should make sure that it's released at the end of the
test. Same for for malloc() memory allocation.

-- 
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com



More information about the ltp mailing list