GNU bug report logs - #24892
{s,}brk removed from FreeBSD 11.x and later, arm64 architecture

Previous Next

Package: emacs;

Reported by: ashish.is <at> lostca.se (Ashish SHUKLA)

Date: Mon, 7 Nov 2016 06:09:02 UTC

Severity: important

Tags: fixed, patch

Merged with 28308

Fixed in version 26.1

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 24892 <at> debbugs.gnu.org
Subject: bug#24892: {s, }brk removed from FreeBSD 11.x and later, arm64 architecture
Date: Wed, 9 Nov 2016 17:47:19 -0800
[Message part 1 (text/plain, inline)]
On 11/09/2016 07:49 AM, Eli Zaretskii wrote:
> we could lift the implementation from
> system_process_attributes, we report there the process memory size.

That number is not that relevant to the intent of memory-limit, and on 
my platform (Fedora 24 x86-64) returning 0 is a better approximation. 
That being said, we can add some help along those lines, in the attached 
patch, slightly modified from the original to suggest (alist-get 'vsize 
(process-attributes (emacs-pid))) for users who prefer the virtual 
memory size.

[0001-Make-memory-limit-obsolete.patch (application/x-patch, attachment)]

This bug report was last modified 7 years and 201 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.