Potential future breakage on linux
hoytech opened this issue · comments
Doug Hoyte commented
It looks like mincore() may be crippled in new linux kernels to protect against side-channel attacks: see this linux kernel commit
Unfortunately, on kernel versions 5.2+, you'll need to run vmtouch as root to get accurate page-residency information on files you don't have write access to.