From: Dan Nicolaescu <dann@ics.uci.edu>
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
Cc: 4629@emacsbugs.donarmstrong.com
Subject: bug#4629: "Emergency (alloc): Warning: past 85% of memory limit" on NetBSD/mips
Date: Mon, 5 Oct 2009 06:00:37 -0700 (PDT) [thread overview]
Message-ID: <200910051300.n95D0bRV011052@godzilla.ics.uci.edu> (raw)
In-Reply-To: <091004200551.M0109566@mirage.ceres.dti.ne.jp> (Izumi Tsutsui's message of "Sun, 4 Oct 2009 20:05:51 +0900")
Izumi Tsutsui <tsutsui@ceres.dti.ne.jp> writes:
> Hi,
>
> Emacs-23.1 on NetBSD/cobalt (mipsel) 5.0.1 also gets the following
> warning message as well as bug#2685 on Debian lenny.
>
> >> Emergency (alloc): Warning: past 85% of memory limit
>
> The following patch (and configure rev 1.326 on HEAD) fixes it:
>
> --- src/m/mips.h.orig 2009-06-21 13:38:20.000000000 +0900
> +++ src/m/mips.h
> @@ -50,7 +50,7 @@ NOTE-END */
>
> #define TEXT_START 0x00400000
>
> -#ifndef GNU_LINUX
> +#if !defined(GNU_LINUX) && !defined(__NetBSD__)
> #define DATA_START 0x10000000
> #endif
mips.h is only used on NetBSD and GNU/Linux, so, IMO, the right thing to
do here is just remove #define DATA_START in that file.
> NetBSD/alpha has the same problem as mentioned in bug#2072, and
> the following patch for emacs-23.1 works fine on NetBSD/alpha 5.0:
>
> --- src/m/alpha.h.orig 2009-06-21 13:38:20.000000000 +0900
> +++ src/m/alpha.h
> @@ -95,7 +95,7 @@ NOTE-END
>
> #undef UNEXEC
> #define UNEXEC unexelf.o
> -#ifndef GNU_LINUX
> +#if !defined(GNU_LINUX) && !defined(__NetBSD__)
> #define DATA_START 0x140000000
> #endif
The solution should be the same in this file too.
OK to check in these 2 removals?
next prev parent reply other threads:[~2009-10-05 13:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-04 11:05 bug#4629: "Emergency (alloc): Warning: past 85% of memory limit" on NetBSD/mips Izumi Tsutsui
2009-10-05 13:00 ` Dan Nicolaescu [this message]
2009-10-05 14:25 ` Izumi Tsutsui
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200910051300.n95D0bRV011052@godzilla.ics.uci.edu \
--to=dann@ics.uci.edu \
--cc=4629@emacsbugs.donarmstrong.com \
--cc=tsutsui@ceres.dti.ne.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.