Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Mar 2003 09:18:20 +0100
From:      Anton Berezin <tobez@tobez.org>
To:        Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= <des@ofug.org>
Cc:        Phil Regnauld <regnauld@catpipe.net>, Wes Peters <wes@softweyr.com>, Juli Mallett <jmallett@FreeBSD.org>, Eivind Eklund <eivind@FreeBSD.org>, Mike Silbersack <silby@silby.com>, David Schultz <das@FreeBSD.org>, src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/vm vm_map.c vm_map.h vm_pageout.c
Message-ID:  <20030320081820.GA81566@heechee.tobez.org>
In-Reply-To: <xzpu1dzyohn.fsf@flood.ping.uio.no>
References:  <200303122313.h2CNDHMU046431@repoman.freebsd.org> <20030314012954.A42430@FreeBSD.org> <20030314101857.A98861@FreeBSD.org> <200303171156.40901.wes@softweyr.com> <20030319143619.GA47243@catpipe.net> <xzpu1dzyohn.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 19, 2003 at 11:34:44PM +0100, Dag-Erling Smørgrav wrote:
> Phil Regnauld <regnauld@catpipe.net> writes:
> > Idea: a "contract" mechanism by which a process registers to the kernel and
> > says "ok, during my life, I will never go over X MB RAM (effective, not
> > overcommit)".  Warning: this is not a malloc, just a hint.
> 
> man setrlimit

setrlimit is a contract signed by a process, while what Phil suggests is
a contract signed by a process _and_ the kernel.

=Anton.

P.S. Dag-Erling, did you read Phil's mail, or did you hit `r' as soon as
     you read the first paragraph?
-- 
It's a short step from "rigor" to "rigor mortis". -- Chip Salzenberg

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-src" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030320081820.GA81566>