imported patch madvise-alignment