When I tried using <linux/mman.h> in the program, I ended up getting complaints about madvise() being undefined, and when I used both <sys/mman.h> and <linux/mman.h> there were complaints about mutiple definitions so the approach taken in the patch seemed like the most straightforward. Thanks for taking a look! Alan > [1] 1a4e58cce84e ("mm: introduce MADV_PAGEOUT") > > Acked-by: Eduard Zingerman <eddyz87@xxxxxxxxx> > > (I want back to 2019...) > > [...] >