Date: Wed, 13 Apr 2005 11:31:02 +0200 From: Marc Olzheim <marcolz@stack.nl> To: Steven Hartland <killing@multiplay.co.uk>, =?us-ascii?Q?=3D=3Fus-ascii=3Aiso-8859-1=3FQ=3FSm=3DF8rgrav?= =?us-ascii?B?Pz0=?= <des@des.no>, ALeine <aleine@austrosearch.net>, freebsd-hackers@FreeBSD.ORG Subject: Re: kernel killing processes when out of swap Message-ID: <20050413093102.GA61401@stack.nl> In-Reply-To: <20050412224050.GA20005@VARK.MIT.EDU> References: <200504121224.j3CCOFXL019177@marlena.vvi.at> <011a01c53f66$4035aa00$b3db87d4@multiplay.co.uk> <86ll7ox7re.fsf@xps.des.no> <020201c53f82$e4b54330$b3db87d4@multiplay.co.uk> <20050412224050.GA20005@VARK.MIT.EDU>
next in thread | previous in thread | raw e-mail | index | archive | help
--VS++wcV0S1rZb1Fb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Apr 12, 2005 at 06:40:50PM -0400, David Schultz wrote: > Using madvise doesn't require changes per app, since MADV_PROTECT > is inherited across exec. You just have to write a wrapper, much > in the spirit of nice(1), to execute a protected version of X. Hmm, that's new to me, but certainly very useful and would do the trick in the case of X. The only problem seems to be that it doesn't seem to be shareable across fork() and that is isn't easily tunable after a process is started. Btw.: Why is this in madvise() and not in rfork() ? Is it because of POSIX ? Any pointers are welcome... Marc --VS++wcV0S1rZb1Fb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCXObWezjnobFOgrERAusvAJ9S6QUayqf3TAm/9FeX4SvXwQTAugCfRXXT jPVYLWODVH2NcmXX54vtF5Y= =LQwQ -----END PGP SIGNATURE----- --VS++wcV0S1rZb1Fb--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050413093102.GA61401>