From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19882 invoked by alias); 31 Jan 2011 18:16:56 -0000 Received: (qmail 19854 invoked by uid 22791); 31 Jan 2011 18:16:55 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 31 Jan 2011 18:16:49 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id EDE922F78007 for ; Mon, 31 Jan 2011 18:16:46 +0000 (GMT) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EMEY14iaWnjR; Mon, 31 Jan 2011 18:16:45 +0000 (GMT) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-patches@ecos.sourceware.org Subject: [Bug 1001116] Instruct lwIP to use special section for buffers and heap. X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Patches and contributions X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: sergei.gavrikov@gmail.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: sergei.gavrikov@gmail.com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Mon, 31 Jan 2011 18:16:00 -0000 Message-Id: <20110131181645.64D652F78001@mail.ecoscentric.com> Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org X-SW-Source: 2011-01/txt/msg00115.txt.bz2 Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001116 --- Comment #44 from Sergei Gavrikov 2011-01-31 18:16:42 GMT --- (In reply to comment #43) > (In reply to comment #42) > > (In reply to comment #34) > > > > > > I am kind of undecided. Somebody else's opinion is welcome. > > > ^^^^^^^^ That would be fine. John, if > > > you read, what is your opinion? > > > > Sergei, is this about whether to place var_data[] in peripheral > > memory or to keep it in main memory? Is there something different > > about this array relative to those you are definitely moving to > > peripheral memory? > > John, > > The ones moved to peripheral memory are: memp_memory[] and ram_heap[] > i.e. arrays from which lwip allocates memory for pbufs, etc. It is > what would typically peripheral (hardware) do. > > var_data[] on the other hand contains thread related data (not > buffers). > > At the beginning I wanted to save as much as possible, but later as I > had gained some insight I have reconsidered my view. > > Other difference is that var_data[] is used in sequential mode which > is not very likely used on devices with low memory. > > Please refer to comment #36 and comment #37 for our further > conversation with Sergei. > > Thanks for your consideration > Ilija I'm sorry, I was AFK. John, if you have doubts about that voluntary reject those varibales from peripherial room (src/ecos/sys_arch.c: stack_data[] and var_data[]), let us know, please, I pend a commit. We discussed that a bit with Ilija and decided do not touch sys_arch.c. Sergei -- Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.