mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Chuck Ebbert <76306.1226@compuserve.com>
Cc: linux-kernel@vger.kernel.org, torvalds@osdl.org
Subject: Re: [patch 2.6.13-rc6] docs: fix misinformation about overcommit_memory
Date: Fri, 19 Aug 2005 20:24:26 -0700	[thread overview]
Message-ID: <20050819202426.5208961e.akpm@osdl.org> (raw)
In-Reply-To: <200508192318_MC3-1-A7AE-1D7A@compuserve.com>

Chuck Ebbert <76306.1226@compuserve.com> wrote:
>
> +Controls overcommit of system memory:

It should explain what "overcommit" is.

>  +
>  +0	-	Heuristic overcommit handling. Obvious overcommits of
>  +		address space are refused. Used for a typical system. It
>  +		ensures a seriously wild allocation fails while allowing
>  +		overcommit to reduce swap usage.  root is allowed to
>  +		allocate slighly more memory in this mode. This is the
>  +		default.
>  +
>  +1	-	Always overcommit. Appropriate for some scientific
>  +		applications.
>  +
>  +2	-	Don't overcommit. The total address space commit
>  +		for the system is not permitted to exceed swap + a
>  +		configurable percentage (default is 50) of physical RAM.

Configurable how?

>  +		Depending on the percentage you use, in most situations
>  +		this means a process will not be killed while accessing
>  +		pages but will receive errors on memory allocation as
>  +		appropriate.

  reply	other threads:[~2005-08-20  3:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-20  3:14 Chuck Ebbert
2005-08-20  3:24 ` Andrew Morton [this message]
2005-08-20 10:56 ` Adrian Bunk
2005-08-20  7:07 Chuck Ebbert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050819202426.5208961e.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=76306.1226@compuserve.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®