From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#4629: "Emergency (alloc): Warning: past 85% of memory limit" on NetBSD/mips Date: Mon, 5 Oct 2009 06:00:37 -0700 (PDT) Message-ID: <200910051300.n95D0bRV011052@godzilla.ics.uci.edu> References: <091004200551.M0109566@mirage.ceres.dti.ne.jp> Reply-To: Dan Nicolaescu , 4629@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1254748065 22305 80.91.229.12 (5 Oct 2009 13:07:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Oct 2009 13:07:45 +0000 (UTC) Cc: 4629@emacsbugs.donarmstrong.com To: Izumi Tsutsui Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 05 15:07:41 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MunHv-0008Fh-S6 for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Oct 2009 15:07:40 +0200 Original-Received: from localhost ([127.0.0.1]:47716 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MunHv-0003XQ-VF for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Oct 2009 09:07:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MunHZ-0003Hy-5v for bug-gnu-emacs@gnu.org; Mon, 05 Oct 2009 09:07:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MunHU-0003DQ-0E for bug-gnu-emacs@gnu.org; Mon, 05 Oct 2009 09:07:16 -0400 Original-Received: from [199.232.76.173] (port=56769 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MunHT-0003Cr-Cj for bug-gnu-emacs@gnu.org; Mon, 05 Oct 2009 09:07:11 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:37260) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MunHS-00018z-QC for bug-gnu-emacs@gnu.org; Mon, 05 Oct 2009 09:07:11 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n95D78Wk029988; Mon, 5 Oct 2009 06:07:08 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n95D541q028804; Mon, 5 Oct 2009 06:05:04 -0700 Resent-Date: Mon, 5 Oct 2009 06:05:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 05 Oct 2009 13:05:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4629 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4629-submit@emacsbugs.donarmstrong.com id=B4629.125474765628484 (code B ref 4629); Mon, 05 Oct 2009 13:05:04 +0000 Original-Received: (at 4629) by emacsbugs.donarmstrong.com; 5 Oct 2009 13:00:56 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from paul-mcgann-v0.ics.uci.edu (paul-mcgann-v0.ics.uci.edu [128.195.1.147]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n95D0tZB028480 for <4629@emacsbugs.donarmstrong.com>; Mon, 5 Oct 2009 06:00:56 -0700 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by paul-mcgann-v0.ics.uci.edu (8.13.8/8.13.8) with ESMTP id n95D0cHI013435; Mon, 5 Oct 2009 06:00:38 -0700 Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n95D0bRV011052; Mon, 5 Oct 2009 06:00:37 -0700 (PDT) In-Reply-To: <091004200551.M0109566@mirage.ceres.dti.ne.jp> (Izumi Tsutsui's message of "Sun, 4 Oct 2009 20:05:51 +0900") Original-Lines: 43 X-ICS-MailScanner-Information: Please send mail to helpdesk@ics.uci.edu or more information X-ICS-MailScanner-ID: n95D0cHI013435 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 05 Oct 2009 09:07:16 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31699 Archived-At: Izumi Tsutsui 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?