Re: [PATCH 1/2] do_sys_poll: simplify playing with on-stack data

2007-07-07 Thread Andi Kleen
On Saturday 07 July 2007 20:48, Oleg Nesterov wrote: > Cleanup. Lessens both the source and compiled code (100 bytes) and imho > makes the code much more understandable. > > With this patch "struct poll_list *head" always points to on-stack > stack_pps, so we can remove all "is it on-stack" and "wa

[PATCH 1/2] do_sys_poll: simplify playing with on-stack data

2007-07-07 Thread Oleg Nesterov
Cleanup. Lessens both the source and compiled code (100 bytes) and imho makes the code much more understandable. With this patch "struct poll_list *head" always points to on-stack stack_pps, so we can remove all "is it on-stack" and "was it initialized" checks. Also, move poll_initwait/poll_freew