Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030589AbVLWRp3 (ORCPT ); Fri, 23 Dec 2005 12:45:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030581AbVLWRp3 (ORCPT ); Fri, 23 Dec 2005 12:45:29 -0500 Received: from mail.metronet.co.uk ([213.162.97.75]:9709 "EHLO mail.metronet.co.uk") by vger.kernel.org with ESMTP id S1030589AbVLWRp3 (ORCPT ); Fri, 23 Dec 2005 12:45:29 -0500 From: Alistair John Strachan To: gcoady@gmail.com Subject: Re: 4k stacks Date: Fri, 23 Dec 2005 17:45:41 +0000 User-Agent: KMail/1.9 Cc: "linux-os (Dick Johnson)" , "Linux kernel" References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512231745.41400.s0348365@sms.ed.ac.uk> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1213 Lines: 33 On Friday 23 December 2005 01:11, Grant Coady wrote: > On Thu, 22 Dec 2005 16:53:25 -0500, "linux-os \(Dick Johnson\)" wrote: > >Yesterday I sent a patch to add stack-poison so the stack usage > >could be observed. > > > >Today I wrote a small program and tested the stack usage. Both > >the program and the patch is attached. The result is: > > > >Offset : 2ec8f000 Available Stack bytes = 3104 > >Offset : 2ecb1000 Available Stack bytes = 3104 > >Offset : 2ee5f000 Available Stack bytes = 20 > > Hmm: > # ./stack > Offset : 003fb000 Available Stack bytes = 3348 > Offset : 0195d000 Available Stack bytes = 3620 Please do these tests once you repair the bug preventing the 4K stacks kernel from booting. The results are meaningless on an 8K stacks kernel. -- Cheers, Alistair. 'No sense being pessimistic, it probably wouldn't work anyway.' Third year Computer Science undergraduate. 1F2 55 South Clerk Street, Edinburgh, UK. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/