Also advice parameter of madvise() system call is not a bitmask. So fix that also v2: Use MAP_SHARED instead of MAP_PRIVATE. This avoids MMU notifiers and evictions. Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>