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-09 18:32:46 -04:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:47 -07:00
2007-10-17 08:42:45 -07:00
2007-05-11 08:29:36 -07:00
2007-08-22 19:52:46 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:45 -07:00
2007-05-07 12:12:51 -07:00
2007-10-15 17:56:36 -07:00
2007-05-08 11:14:59 -07:00
2007-10-12 15:49:37 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:45 -07:00
2007-07-17 10:23:06 -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-17 08:42:45 -07:00
2007-07-20 10:11:58 +09:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:45 -07:00
2007-10-16 09:43:07 -07:00
2007-10-17 08:42:45 -07:00
2007-02-12 09:48:47 -08:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:47 -07:00
2007-10-16 09:43:00 -07:00
2007-07-20 10:11:58 +09:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:45 -07:00
2007-10-09 17:17:53 -04:00
2007-10-17 08:42:47 -07:00
2007-02-12 09:48:46 -08:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:45 -07:00
2007-10-16 09:43:10 -07:00
2007-07-16 09:05:52 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:45 -07:00
2007-10-14 12:41:51 -07:00
2007-10-17 08:42:47 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:46 -07:00
2007-10-17 08:42:47 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:45 -07:00
2007-02-12 09:48:46 -08:00
2007-10-17 08:42:45 -07:00
2007-10-08 12:58:14 -07:00
2007-07-17 11:50:26 -07:00
2007-07-17 12:00:03 -07:00
2007-07-10 08:04:15 +02:00
2006-12-08 08:28:41 -08:00
2007-10-17 08:42:44 -07:00
2007-10-17 08:42:44 -07:00
2007-05-08 11:15:07 -07:00
2007-10-03 23:43:57 +08:00
2007-07-19 10:04:45 -07:00
2007-07-19 10:04:45 -07:00
2007-10-16 11:03:52 +02:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:45 -07:00
2007-10-11 19:40:14 -07:00
2007-07-19 10:04:45 -07:00
2007-10-16 09:43:00 -07:00
2007-07-29 17:09:29 -07:00
2007-10-16 09:42:53 -07:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-16 09:05:36 -07:00
2007-05-18 13:09:34 -07:00
2007-07-20 10:11:58 +09:00
2007-10-17 08:42:46 -07:00
2007-07-20 10:11:58 +09:00
2007-05-21 09:18:19 -07:00
2007-10-17 08:42:44 -07:00
2006-12-22 08:55:50 -08:00
2007-05-08 11:15:01 -07:00
2007-10-10 09:25:57 +02:00
2007-07-17 12:00:03 -07:00
2007-10-17 08:42:45 -07:00
2007-07-20 10:11:58 +09:00
2007-05-08 11:15:11 -07:00
2007-05-08 11:15:09 -07:00
2007-07-16 09:05:48 -07:00
2007-02-12 09:48:32 -08:00
2007-10-15 10:47:35 -07:00
2007-05-21 14:34:00 +09:00
2007-10-16 09:42:55 -07:00
2007-10-17 08:42:45 -07:00
2007-05-11 08:29:36 -07:00
2007-07-20 10:11:58 +09:00
2007-10-16 09:42:54 -07:00
2007-10-17 08:42:44 -07:00
2007-07-20 10:11:58 +09: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-05-08 11:15:11 -07:00
2006-12-08 08:28:51 -08:00
2007-07-27 15:40:13 -07:00
2007-10-09 18:32:46 -04:00
2007-05-08 11:15:09 -07:00
2007-10-17 08:42:48 -07:00
2007-10-10 16:55:33 -07:00
2007-09-20 13:19:59 -07:00
2007-10-16 10:09:16 -07:00
2007-02-19 14:21:50 -08:00
2007-05-08 11:15:07 -07:00
2007-07-16 09:05:46 -07:00
2007-06-28 11:38:30 -07:00
2007-07-26 11:35:17 -07:00
2007-07-17 12:00:03 -07:00
2007-02-14 08:09:54 -08:00
2007-07-17 12:00:03 -07:00