From: Andrew Morton <akpm@digeo.com>
To: davidm@hpl.hp.com
Cc: linux-kernel@vger.kernel.org, Stephen Smalley <sds@epoch.ncsc.mil>
Subject: Re: replace MAX_MAP_COUNT with /proc/sys/vm/max_map_count
Date: Fri, 26 Mar 2004 22:17:31 -0800 [thread overview]
Message-ID: <20040326221731.54772019.akpm@digeo.com> (raw)
In-Reply-To: <16485.5722.591616.846576@napali.hpl.hp.com>
David Mosberger <davidm@napali.hpl.hp.com> wrote:
>
> Below is a warmed up version of a patch originally done by Werner
> Almesberger (see http://tinyurl.com/25zra) to replace the
> MAX_MAP_COUNT limit with a sysctl variable.
Fair enough.
> int sysctl_overcommit_memory = 0; /* default is heuristic overcommit */
> int sysctl_overcommit_ratio = 50; /* default is 50% */
> +int sysctl_max_map_count = DEFAULT_MAX_MAP_COUNT;
> atomic_t vm_committed_space = ATOMIC_INIT(0);
>
> EXPORT_SYMBOL(sysctl_overcommit_memory);
> EXPORT_SYMBOL(sysctl_overcommit_ratio);
> +EXPORT_SYMBOL(sysctl_max_map_count);
> EXPORT_SYMBOL(vm_committed_space);
The SELinux guys may want to hook into this. I assume that's why these
symbols are exported to modules at present?
Stephen, if my surmise is correct could you please prep the final patch?
next prev parent reply other threads:[~2004-03-27 6:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-27 5:51 David Mosberger
2004-03-27 6:17 ` Andrew Morton [this message]
2004-03-29 13:42 ` Stephen Smalley
2004-03-30 23:16 ` Chris Wright
[not found] <16485.5722.591616.846576@napali.hpl.hp.com.suse.lists.linux.kernel>
2004-03-27 6:19 ` Andi Kleen
2004-03-29 17:35 ` David Mosberger
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=20040326221731.54772019.akpm@digeo.com \
--to=akpm@digeo.com \
--cc=davidm@hpl.hp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sds@epoch.ncsc.mil \
/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®