implement eventfd for linux and madvise on a pagesize boundary