Date: Thu, 20 Mar 2003 09:57:07 +0100 From: Phil Regnauld <regnauld@catpipe.net> To: Anton Berezin <tobez@tobez.org> Cc: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= <des@ofug.org>, 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: <20030320085707.GD47243@catpipe.net> In-Reply-To: <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> <xzpu1dzyohn.fsf@flood.ping.uio.no> <20030320081820.GA81566@heechee.tobez.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Anton Berezin (tobez) writes:
> >
> > man setrlimit
>
> setrlimit is a contract signed by a process, while what Phil suggests is
> a contract signed by a process _and_ the kernel.
Actually, I was thinking about the possibility to extend setrlimit
semantics to support this. i.e. an extra parameter which would
indicate that we want to be notified (via the return value)
that our contract request could not be fulfilled. Using this
extra parameter would modify's the kernel's behaviour in that
the kernel will "agree" to preserver this process as much as possible
in case of resource starvation (that's the main difference with
setrlimit).
Phil
--
_ _ |_ | regnauld@catpipe.net catpipe Systems ApS |
(_(_||_ | *BSD solutions, consulting, development |
| Tlf.: +45 7021 0050 http://www.catpipe.net/ |
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030320085707.GD47243>
