From owner-cvs-src Thu Mar 20 0:18:27 2003 Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B52C37B401; Thu, 20 Mar 2003 00:18:25 -0800 (PST) Received: from heechee.tobez.org (heechee.tobez.org [213.237.10.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2693943FAF; Thu, 20 Mar 2003 00:18:24 -0800 (PST) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id DA1B4175D0; Thu, 20 Mar 2003 09:18:20 +0100 (CET) Date: Thu, 20 Mar 2003 09:18:20 +0100 From: Anton Berezin To: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= Cc: Phil Regnauld , Wes Peters , Juli Mallett , Eivind Eklund , Mike Silbersack , David Schultz , 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> References: <200303122313.h2CNDHMU046431@repoman.freebsd.org> <20030314012954.A42430@FreeBSD.org> <20030314101857.A98861@FreeBSD.org> <200303171156.40901.wes@softweyr.com> <20030319143619.GA47243@catpipe.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.1i Sender: owner-cvs-src@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Mar 19, 2003 at 11:34:44PM +0100, Dag-Erling Smørgrav wrote: > Phil Regnauld 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