Oleg Nesterov 252e5725cf do_sys_poll: simplify playing with on-stack data
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_freewait and -EINTR detection closer to the
do_poll()'s callsite.

[akpm@linux-foundation.org: fix warning (size_t != uint)]
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Looks-good-to: Andi Kleen <ak@suse.de>
Cc: Davide Libenzi <davidel@xmailserver.org>
Cc: Vadim Lobanov <vlobanov@speakeasy.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-17 08:42:48 -07:00
..
2007-10-17 08:42:47 -07:00
2007-08-22 19:52:46 -07:00
2007-10-17 08:42:45 -07:00
2007-10-15 17:56:36 -07:00
2007-05-08 11:14:59 -07:00
2007-10-17 08:42:47 -07:00
2007-10-17 08:42:47 -07:00
2007-10-17 08:42:47 -07:00
2007-10-16 09:43:07 -07:00
2007-10-17 08:42:47 -07:00
2007-07-16 09:05:52 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:46 -07:00
2007-10-17 08:42:45 -07:00
2007-10-08 12:58:14 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:45 -07:00
2007-07-19 10:04:45 -07:00
2007-07-29 17:09:29 -07:00
2007-10-16 09:42:53 -07:00
2007-05-18 13:09:34 -07:00
2007-10-17 08:42:46 -07:00
2007-05-21 09:18:19 -07:00
2007-10-17 08:42:44 -07:00
2007-05-08 11:15:01 -07:00
2007-10-10 09:25:57 +02:00
2007-05-08 11:15:09 -07:00
2007-07-16 09:05:48 -07:00
2007-05-11 08:29:36 -07:00
2007-10-16 09:42:54 -07:00
2007-07-19 10:04:45 -07:00
2007-10-17 08:59:31 +10:00
2007-10-15 17:00:19 +02:00
2007-07-27 15:40:13 -07:00
2007-09-20 13:19:59 -07:00
2007-07-16 09:05:46 -07:00