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

From: Wayne Whitney (whitney@math.berkeley.edu)
Date: Thu Dec 13 2001 - 12:38:36 EST


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/



This archive was generated by hypermail 2b29 : Sat Dec 15 2001 - 21:00:26 EST