From owner-freebsd-mips@FreeBSD.ORG Tue Dec 18 14:20:28 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 426EA694 for ; Tue, 18 Dec 2012 14:20:28 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ie0-f176.google.com (mail-ie0-f176.google.com [209.85.223.176]) by mx1.freebsd.org (Postfix) with ESMTP id E9EB58FC15 for ; Tue, 18 Dec 2012 14:20:26 +0000 (UTC) Received: by mail-ie0-f176.google.com with SMTP id 13so904442iea.21 for ; Tue, 18 Dec 2012 06:20:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer:x-gm-message-state; bh=Ki8tdneSwWWhmSurQcYyjQlvD2uiwyGGQ9ZkIgGKBv8=; b=fech2NY9imoty9eVMbmiZ3hJjQsbHZy++u43OnPh5mshaBnNVs2Ty7W25vmBMjou8u dljbujmRsLDpP+FuMBRcTEhv4NIJnlLuinTo0VPCz7i7zVkrlYmtEJG9FPLZebx2+ddm p1Xpc18JIubDikOfPFArk8nTtNSyZITv4iwnD2ehCOUif75S3ucilS8OYgprzWa/cxET Aj0Qs7K1b81gRDSx/KRKzCYFYGsKClcPw86kci7k0U1qUarTQJ2t6CBkAkVq+E4GeVDx /0zVw8IDhk/XujvPRImMniOiW7yaPStKxzcNu1ANoMSGu9UYJzawc3q92L6b8s/g7RHz KJdA== X-Received: by 10.50.13.133 with SMTP id h5mr2554682igc.2.1355840425999; Tue, 18 Dec 2012 06:20:25 -0800 (PST) Received: from 53.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPS id uz1sm1420806igb.16.2012.12.18.06.20.22 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 18 Dec 2012 06:20:24 -0800 (PST) Sender: Warner Losh Subject: Re: Help: Reg Out of swap space Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Tue, 18 Dec 2012 07:20:21 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <596D5486-826E-40C9-B2D6-2851B9459878@bsdimp.com> References: <50CFE88E.3020303@bluezbox.com> <266E3514-39BC-4E3C-A5BA-50B4D7DA635E@bsdimp.com> <129337B8-C3C2-4365-8C8D-6F5B6B45DDB1@bluezbox.com> To: Mukunda Haveri X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQlJUqyp2cRIJrdNdNjShW67zFklAMj1E6saCprSV6IAJFr/gzXvl9/Fao6QIuVge5vI2wVC 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 14:20:28 -0000 On Dec 17, 2012, at 11:41 PM, Mukunda Haveri wrote: > 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? WITHOUT_MALLOC_DEBUG is what it should be, but it isn't what it is = today. Warner >=20 >=20 > On Tue, Dec 18, 2012 at 11:27 AM, Oleksandr Tymoshenko = wrote: >=20 > On 2012-12-17, at 8:06 PM, Warner Losh wrote: >=20 > > > > 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 > > >=20 > 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. >=20 > _______________________________________________ > 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" >=20 > 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.=20= >=20 >=20