mincore operate some page cache of a file . g++72 -std=c++17 main.cpp page_cache_operator.cpp -o main then ./main