A port of mincore and fadvise from linux-ftools to a Python C extension