From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31125 invoked by alias); 26 Sep 2011 20:11:29 -0000 Received: (qmail 31026 invoked by uid 22791); 26 Sep 2011 20:11:24 -0000 X-SWARE-Spam-Status: No, hits=-1.9 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, 26 Sep 2011 20:11:09 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id C59E92F78010 for ; Mon, 26 Sep 2011 21:11:07 +0100 (BST) 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 etJQ8WAr3fDM; Mon, 26 Sep 2011 21:11:02 +0100 (BST) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-patches@ecos.sourceware.org Subject: [Bug 1001344] Allow nc_test_slave for lwIP to compile for targets with 128KiB RAM. 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: NEW X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org 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, 26 Sep 2011 20:11:00 -0000 Message-Id: <20110926201102.D24492F78001@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-09/txt/msg00001.txt.bz2 Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001344 --- Comment #1 from Sergei Gavrikov 2011-09-26 21:11:01 BST --- (In reply to comment #0) > Created an attachment (id=1377) --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1377) > Reduce stack usage of nc_test_slave > > Network characterization test for lwIP (nc_test_slave.c) doesn't > compile for targets with RAM <= 128KiB. The problem can be solved by > reducing stack sizes of several threads. > > A patch that solves the problem for targets with 128KiB RAM is > attached for review. The patch has been tested on Cortex-M4/Kinetis > K60 with 128KiB RAM. > > Since some thread stacks have been reduced, it would be good to check > compatibility on other architectures. Hi Ilija, I have one **minor** remark regarding attachment 1377. I would use ECHO_STACK_SIZE in the patch instead proposed name (TMAIN_STACK_SIZE), IMO, such "adjusted" names would look nicer MAIN_STACK_SIZE LOAD_STACK_SIZE IDLE_STACK_SIZE ECHO_STACK_SIZE 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.