Re: [RFC, PATCHv2 29/29] mm, x86: introduce RLIMIT_VADDR

From: Dave Hansen
Date: Thu Jan 05 2017 - 14:14:18 EST


On 12/26/2016 05:54 PM, Kirill A. Shutemov wrote:
> MM would use min(RLIMIT_VADDR, TASK_SIZE) as upper limit of virtual
> address available to map by userspace.

What happens to existing mappings above the limit when this upper limit
is dropped?

Similarly, why do we do with an application running with something
incompatible with the larger address space that tries to raise the
limit? Say, legacy MPX.