update madvise() flags