Re: Repost: could ia32 mmap() allocations grow downward?

Wayne Whitney (whitney@math.berkeley.edu)
Thu, 13 Dec 2001 09:38:36 -0800 (PST)


On Thu, 13 Dec 2001, Hugh Dickins wrote:

> My fear is that you may encounter an indefinite number of buggy apps,
> which expect an mmap() to follow the mmap() before: easy bug to
> commit, and to go unnoticed, until you reverse the layout.

Hmm, so which is more important to support, buggy users of (unguaranteed
side effects of) the new interface, or users of the legacy interface? I
can see the argument that that the buggy users of the new interface are
more important. Maybe CONFIG_MMAP_GROWS_DOWNWARDS, or a /proc entry?

Wayne

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/