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

Arnd Bergmann arnd at arndb.de
Thu Oct 20 08:21:43 EDT 2011


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 at am.sony.com>

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



More information about the linux-arm-kernel mailing list