Re: [PATCH 3/3] ARM 4Kstacks: Decrease poll and select stack usage, when using 4K stacks

From: Arnd Bergmann
Date: Thu Oct 20 2011 - 08:22:02 EST


On Wednesday 19 October 2011, Tim Bird wrote:
> Reduce the max allowed size for struct poll_wqueue to avoid
> using too much stack space in do_select() and do_sys_poll(),
> when the kernel is using 4K stacks.
>
> Signed-off-by: Tim Bird <tim.bird@xxxxxxxxxxx>

Can you explain why this is necessary with 4K stacks? I would
expect the poll() function never to be deeply nested, so 1K
used in there doesn't sound too problematic.

Arnd
--
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/