Subject: bug#24892: {s, }brk removed from FreeBSD 11.x and later, arm64 architecture

From: Eli Zaretskii <[email-masked]>
Date: Wed, 09 Nov 2016 05:34:25 +0200

> Cc: [email-masked]
> From: Paul Eggert <[email-masked]>
> Date: Tue, 8 Nov 2016 13:41:40 -0800
> 
> Following up on this bug report, the memory-limit function should be 
> marked obsolescent and eventually removed, as its value has not been 
> useful (or, as far as I can tell, used) for many years. Until it's 
> removed it can just return 0. Proposed patch attached.

I agree that the current implementation is not useful on many
platforms, but would it make sense to provide a different
implementation, which will be more useful?  For example, something
based on getrusage or perhaps the info in /proc?

Thanks.