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

From: [email-masked] (Arnd Bergmann)
Date: Thu, 20 Oct 2011 14:21:43 +0200

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 <[email-masked]>

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