On Wed, Jul 5, 2017 at 4:35 PM, Ben Hutchings <b...@decadent.org.uk> wrote: >> >> And I think your second patch breaks that "use a really large value to >> approximate infinity" case that definitely has existed as a pattern. > > Right. Well that seems to leave us with remembering the MAP_FIXED flag > and using that as the condition to ignore the previous mapping.
I'm not particularly happy about having a MAP_FIXED special case, but yeah, I'm not seeing a lot of alternatives. Linus