Re: sbrk(2) broken

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Fri, 04 Jan 2008 10:32:53 +0100
Robert Watson <rwatson_at_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
-- 
Dag-Erling Smørgrav - des_at_des.no
Received on Fri Jan 04 2008 - 08:33:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:24 UTC