Subject: Re: Wine builds ok but wont run
To: David Laight <david@l8s.co.uk>
From: Todd Vierling <tv@duh.org>
List: tech-pkg
Date: 01/15/2005 15:44:57
On Sat, 15 Jan 2005, David Laight wrote:

> Under Linux this is done setting a "don't allocate swap space" flag, and
> the mmap'ed space cannot be counted towards the processes VM limts(s).
>
> I would have thought it better to add a flag to mmap to say "map below
> specified address".

Hm.  I wonder if MADV_DONTNEED pages are counted in the rlimits -- and, if
not, whether we could add a mmap flag to put the pages in that state
immediately upon mapping.

(Alternately, perhaps unallocated MAP_ANON, PROT_NONE mappings should be
considered exempt from rlimits.)

-- 
-- Todd Vierling <tv@duh.org> <tv@pobox.com>