On 16/02/2026 16:52, Ashutosh Bapat wrote:> 2. to use madvise() the address needs to be backed by a file, so> memfd_create is a must.
It seems to work fine for anonymous mmapped memory here. See attached test program.
- Heikki