Date: Fri, 04 Jan 2008 10:32:53 +0100 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> To: Robert Watson <rwatson@FreeBSD.org> Cc: freebsd-current@freebsd.org, Jason Evans <jasone@freebsd.org>, Poul-Henning Kamp <phk@FreeBSD.org> Subject: Re: sbrk(2) broken Message-ID: <86wsqqaqbe.fsf@ds4.des.no> In-Reply-To: <20080104002002.L30578@fledge.watson.org> (Robert Watson's message of "Fri\, 4 Jan 2008 00\:26\:31 %2B0000 \(GMT\)") References: <477C82F0.5060809@freebsd.org> <863ateemw2.fsf@ds4.des.no> <20080104002002.L30578@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Robert Watson <rwatson@FreeBSD.org> writes: > The right answer is presumably to introduce a new LIMIT_SWAP, which > limits the allocation of anonymous memory by processes, and size it to > something like 90% of swap space by default. Not a good solution on its own. You need a per-process limit as well, otherwise a malloc() bomb will still cause other processes to fail randomly. > Since that won't be happening before 7.0, I believe the consensus is > to simply not MFC the changes for 7 and proceed with the release. Thank you :) DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86wsqqaqbe.fsf>