Re: 4k stacks

From: Alistair John Strachan
Date: Fri Dec 23 2005 - 12:44:23 EST


On Friday 23 December 2005 01:11, Grant Coady wrote:
> On Thu, 22 Dec 2005 16:53:25 -0500, "linux-os \(Dick Johnson\)"
<linux-os@xxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/