From owner-freebsd-mips@FreeBSD.ORG Tue Dec 18 06:49:47 2012 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D36554E7 for ; Tue, 18 Dec 2012 06:49:47 +0000 (UTC) (envelope-from mukunda@pointred.co) Received: from na3sys010aog108.obsmtp.com (na3sys010aog108.obsmtp.com [74.125.245.84]) by mx1.freebsd.org (Postfix) with SMTP id 4FAF98FC16 for ; Tue, 18 Dec 2012 06:49:46 +0000 (UTC) Received: from mail-vb0-f70.google.com ([209.85.212.70]) (using TLSv1) by na3sys010aob108.postini.com ([74.125.244.12]) with SMTP ID DSNKUNASCjubQQATQrVbqehi5Wv3oe1YLytd@postini.com; Mon, 17 Dec 2012 22:49:47 PST Received: by mail-vb0-f70.google.com with SMTP id r6so445043vbi.5 for ; Mon, 17 Dec 2012 22:49:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=h3wD/blU/a3zCSFwtUbcPgtINQrPDZCfhttw1OgRpks=; b=QRtwkxXn/OnpMdSaeGnnP7L/mcQohHVH1FYf5M+kK/jlpFn/m5imT3A9KutzAZV1I9 bYBju4tRs9vrYg3EEqxsUlQ/TWe0Eq4feXU4nzcmab5aSZBwmU7NWjoaX61konIl4m/H 8g9W7Lnmy9tmDYm2r97QlfqM2SE1rYDRv3DnsfM3oT6em0cCM7ROcmqH3qEn0AalmnRm ge3Iyo5+NE+y9jlFtYq+yRRP9NvnyqL7Q7UlFhdFDHhCumUnyeoUeuzmUed0vvfe2PwX vZTjWkHcjvl3H3rdXk0AonKaitszZ3FKbWqTl2LVINPjCaP6+VVaFo5XwQq5vWQoaGTG Dcew== X-Received: by 10.220.231.65 with SMTP id jp1mr1364906vcb.30.1355812911460; Mon, 17 Dec 2012 22:41:51 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.231.65 with SMTP id jp1mr1364896vcb.30.1355812911291; Mon, 17 Dec 2012 22:41:51 -0800 (PST) Received: by 10.58.143.104 with HTTP; Mon, 17 Dec 2012 22:41:51 -0800 (PST) In-Reply-To: <129337B8-C3C2-4365-8C8D-6F5B6B45DDB1@bluezbox.com> References: <50CFE88E.3020303@bluezbox.com> <266E3514-39BC-4E3C-A5BA-50B4D7DA635E@bsdimp.com> <129337B8-C3C2-4365-8C8D-6F5B6B45DDB1@bluezbox.com> Date: Tue, 18 Dec 2012 12:11:51 +0530 Message-ID: Subject: Re: Help: Reg Out of swap space From: Mukunda Haveri To: Oleksandr Tymoshenko X-Gm-Message-State: ALoCoQleTGdZ8grP8xT/pSskiBPtTetnZjVN8OW9qVKRbwJm5nEvvZiyD82h/tcw/miLjX69Oof7kO8sVlLvOBfZ5y6ozLXNkT+AjDz/an4icfmwsBvU3xBL2Ropd6mXDJOHUUM061svoqlFmHODYKfFvlzhSwBp2aII9OEhC8BvJhihOU7pN9M= Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-mips@freebsd.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 06:49:47 -0000 Agree.. My oversight, I will compile with WITHOUT_MALLOC_DEBUG in src.conf and check.. And do you have any pointers towards removing some obvious components that we do not require to compile in the kernel on an embedded MIPS platform? On Tue, Dec 18, 2012 at 11:27 AM, Oleksandr Tymoshenko wrote: > > On 2012-12-17, at 8:06 PM, Warner Losh wrote: > > > > > On Dec 17, 2012, at 8:52 PM, Oleksandr Tymoshenko wrote: > > > >> On 12/17/2012 2:32 AM, Mukunda Haveri wrote: > >>> I have done that already. Hope it's correct.. > >>> Please have a look at the attached make.mips.conf. and my build script > (csh > >>> script) sets, > >>> setenv __MAKE_CONF /root/mips/make.conf.mips > >>> setenv SRCCONF /root/mips/src.conf.mips > >>> > >>> I also have a new problem after updating the source to head [from 24k+ > >>> version]. Something related to . -:) > >>> > >>> > >>> > >>> On Mon, Dec 17, 2012 at 2:14 PM, Adrian Chadd > wrote: > >>> > >>>> You need to define MALLOC_PRODUCTION in your build or the default > >>>> jemalloc options in -HEAD cause it to run out of RAM on embedded > >>>> platforms. > >>>> > >>>> > >> > >> As far as I can see it's MALLOC_DISTRIBUTION in make.conf. Should be > MALLOC_PRODUCTION > > > > It should be WITHOUT_MALLOC_DEBUG > > > > BTW, why not make it a default for platforms with small footprint or > non-tier1? As far as I understand > the idea behind having debug enabled is to make getting information from > running systems > easier. I do not think this approach is applicable to ARM or MIPS targets. > > _______________________________________________ > freebsd-mips@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" > DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. PointRed Telecom Ltd (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system and does not guarantee that the integrity of this communication has been maintained or that this communication is free of viruses, interceptions or interferences.