Subject: Re: Flag MAP_NORESERVE for mmap() implemented in NetBSD 3.0?
To: None <current-users@netbsd.org>
From: Sourath Roy <sourath@gmail.com>
List: current-users
Date: 11/17/2006 00:16:19
------=_Part_52971_6874143.1163702779508
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

If NetBSD implements memory overcommit policy, then in cases where there is
no real memory would the behavior be same as Linux? i.e., OOM coming in and
killing processes randomly?
Is there a way to stop this overcommit policy in NetBSD?

-- Sourath

On 11/15/06, Jason Thorpe <thorpej@shagadelic.org> wrote:
>
>
> On Nov 14, 2006, at 10:25 AM, Sourath Roy wrote:
>
> > I thought so. I believe there's no equivalent either...
> >
> > Now any clues whether NetBSD does overcommit during memory
> > allocations like Linux does?
>
> Yes, NetBSD's VM system implements an overcommit policy.
>
> -- thorpej
>
>

------=_Part_52971_6874143.1163702779508
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

If NetBSD implements memory overcommit policy, then in cases where
there is no real memory would the behavior be same as Linux? i.e., OOM
coming in and killing processes randomly?<br>
Is there a way to stop this overcommit policy in NetBSD?<br>
<br>
-- Sourath<br><br><div><span class="gmail_quote">On 11/15/06, <b class="gmail_sendername">Jason Thorpe</b> &lt;<a href="mailto:thorpej@shagadelic.org">thorpej@shagadelic.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>On Nov 14, 2006, at 10:25 AM, Sourath Roy wrote:<br><br>&gt; I thought so. I believe there's no equivalent either...<br>&gt;<br>&gt; Now any clues whether NetBSD does overcommit during memory<br>&gt; allocations like Linux does?
<br><br>Yes, NetBSD's VM system implements an overcommit policy.<br><br>-- thorpej<br><br></blockquote></div><br>

------=_Part_52971_6874143.1163702779508--