Oleg Nesterov
f646e227b8
signal: retarget_shared_pending: consider shared/unblocked signals only
...
exit_signals() checks signal_pending() before retarget_shared_pending() but
this is suboptimal. We can avoid the while_each_thread() loop in case when
there are no shared signals visible to us.
Add the "shared_pending.signal & ~blocked" check. We don't use tsk->blocked
directly but pass ~blocked as an argument, this is needed for the next patch.
Note: we can optimize this more. while_each_thread(t) can check t->blocked
into account and stop after every pending signal has the new target, see the
next patch.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: Matt Fleming <matt.fleming@linux.intel.com>
Acked-by: Tejun Heo <tj@kernel.org>
2011-04-28 13:01:35 +02:00
..
2011-03-25 21:04:56 -07:00
2011-03-20 18:14:55 -07:00
2011-03-30 14:13:23 +02:00
2011-03-24 10:16:26 -07:00
2011-04-04 08:31:23 -07:00
2011-03-25 17:53:09 -07:00
2010-10-30 02:18:32 -04:00
2011-03-14 09:15:23 -04:00
2011-03-03 10:55:40 -08:00
2010-10-30 01:42:19 -04:00
2011-03-03 10:55:40 -08:00
2010-10-30 08:45:43 -04:00
2011-03-23 19:46:28 -07:00
2011-03-23 19:47:06 -07:00
2011-03-22 17:43:58 -07:00
2011-02-02 15:28:19 +01:00
2011-03-22 17:44:11 -07:00
2011-03-23 19:46:35 -07:00
2011-03-23 19:47:19 -07:00
2011-03-23 19:47:02 -07:00
2011-04-07 20:44:11 +02:00
2011-03-24 10:16:26 -07:00
2010-12-24 15:02:40 +01:00
2011-03-23 19:47:08 -07:00
2011-03-25 17:52:22 -07:00
2011-03-23 19:47:08 -07:00
2011-03-15 18:53:35 -07:00
2010-12-16 11:36:43 +01:00
2010-12-18 15:54:48 +01:00
2010-10-29 12:56:13 -04:00
2011-03-25 17:52:22 -07:00
2011-04-01 16:14:30 +11:00
2011-01-07 17:02:58 -08:00
2011-03-22 17:44:01 -07:00
2011-01-13 08:03:16 -08:00
2011-03-23 13:54:47 +01:00
2011-01-20 13:32:33 +01:00
2011-03-23 19:47:19 -07:00
2011-03-22 17:44:12 -07:00
2010-11-26 15:05:34 +01:00
2011-03-23 19:47:08 -07:00
2011-03-22 17:44:11 -07:00
2011-01-24 14:32:51 +10:30
2011-03-31 13:02:56 +02:00
2011-03-23 19:46:58 -07:00
2011-03-17 13:08:28 -03:00
2011-03-15 00:43:18 +01:00
2011-02-02 15:28:19 +01:00
2011-02-21 12:53:09 -08:00
2011-03-22 17:44:13 -07:00
2011-04-07 20:44:11 +02:00
2010-11-12 07:55:31 -08:00
2011-03-04 08:05:41 -08:00
2011-03-04 08:05:08 -08:00
2011-01-14 04:58:08 -08:00
2011-03-04 08:05:17 -08:00
2010-12-17 12:34:08 -08:00
2010-11-29 22:01:58 -08:00
2011-01-07 17:02:58 -08:00
2010-12-17 12:34:20 -08:00
2010-11-05 08:21:34 -07:00
2011-03-23 19:46:22 -07:00
2010-12-17 10:01:09 -08:00
2011-01-27 21:13:51 -05:00
2011-01-27 21:13:51 -05:00
2011-02-22 22:07:22 +01:00
2011-01-27 21:13:51 -05:00
2011-02-23 11:34:03 +01:00
2011-02-23 11:33:59 +01:00
2010-11-23 10:29:08 +01:00
2011-02-03 14:20:33 +01:00
2011-03-31 13:00:37 +02:00
2010-11-18 13:27:46 +01:00
2011-03-23 14:09:41 +01:00
2011-03-04 11:12:26 +01:00
2011-03-23 14:09:41 +01:00
2011-03-31 13:00:34 +02:00
2011-04-28 13:01:35 +02:00
2011-03-22 17:44:11 -07:00
2011-03-22 17:44:01 -07:00
2011-01-14 04:56:49 -08:00
2011-03-22 17:44:01 -07:00
2011-03-15 02:21:44 -04:00
2011-03-23 19:47:06 -07:00
2011-03-14 09:15:28 -04:00
2011-03-23 19:46:51 -07:00
2011-03-23 19:46:54 -07:00
2011-03-23 19:47:14 -07:00
2011-03-15 18:53:35 -07:00
2011-03-15 18:53:35 -07:00
2011-02-03 09:28:46 -05:00
2011-03-23 19:47:08 -07:00
2011-01-13 08:03:18 -08:00
2011-03-23 19:46:59 -07:00
2011-03-23 19:47:03 -07:00
2011-03-22 17:44:12 -07:00
2011-03-22 17:44:01 -07:00