Lai Jiangshan
a6bebbc87a
[PATCH] signal, procfs: some lock_task_sighand() users do not need rcu_read_lock()
...
lock_task_sighand() make sure task->sighand is being protected,
so we do not need rcu_read_lock().
[ exec() will get task->sighand->siglock before change task->sighand! ]
But code using rcu_read_lock() _just_ to protect lock_task_sighand()
only appear in procfs. (and some code in procfs use lock_task_sighand()
without such redundant protection.)
Other subsystem may put lock_task_sighand() into rcu_read_lock()
critical region, but these rcu_read_lock() are used for protecting
"for_each_process()", "find_task_by_vpid()" etc. , not for protecting
lock_task_sighand().
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com >
[ok from Oleg]
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com >
2008-10-10 04:18:57 +04:00
..
2008-08-12 16:07:30 -07:00
2008-08-28 12:27:39 -07:00
2008-10-04 10:51:07 +02:00
2008-09-29 17:09:14 +02:00
2008-07-25 10:53:47 -07:00
2008-08-01 12:15:16 -04:00
2008-08-01 12:15:03 -04:00
2008-09-01 23:06:45 -04:00
2008-06-27 18:09:16 +02:00
2008-08-14 22:59:43 +10:00
2008-09-29 08:41:47 -07:00
2008-04-29 08:06:22 -07:00
2008-08-12 16:07:28 -07:00
2008-09-13 14:41:50 -07:00
2008-07-25 10:53:47 -07:00
2008-08-07 06:52:01 -07:00
2008-07-26 20:53:20 -04:00
2008-09-29 08:41:47 -07:00
2008-07-28 16:30:21 -07:00
2008-09-29 17:09:14 +02:00
2008-07-25 10:53:27 -07:00
2008-07-28 14:37:38 +02:00
2008-09-23 08:09:14 -07:00
2008-10-06 13:50:59 -05:00
2008-07-25 10:53:28 -07:00
2008-07-25 10:53:30 -07:00
2008-07-26 12:00:09 -07:00
2008-08-13 12:55:10 +02:00
2008-08-26 10:37:46 +02:00
2008-08-27 08:40:36 +02:00
2008-07-29 00:07:55 +02:00
2008-07-30 09:41:45 -07:00
2008-08-25 11:10:26 -07:00
2008-07-28 18:12:36 +02:00
2008-07-25 10:53:37 -07:00
2008-08-23 12:14:12 -07:00
2008-07-25 10:53:29 -07:00
2008-09-02 19:21:38 -07:00
2008-07-25 10:53:45 -07:00
2008-09-02 19:21:40 -07:00
2008-10-02 15:53:13 -07:00
2008-07-30 09:41:45 -07:00
2008-07-25 10:53:27 -07:00
2008-08-14 22:59:43 +10:00
2008-07-28 12:16:31 +10:00
2008-08-21 09:31:44 +02:00
2008-07-16 00:29:07 +02:00
2008-08-05 14:33:46 -07:00
2008-07-25 10:53:36 -07:00
2008-09-02 10:47:30 -07:00
2008-07-21 21:55:02 -07:00
2008-08-25 17:39:57 +02:00
2008-10-10 04:18:57 +04:00
2008-08-11 14:49:29 +02:00
2008-08-21 08:18:02 +02:00
2008-09-11 09:34:28 +02:00
2008-07-04 12:50:23 +02:00
2008-09-29 17:09:14 +02:00
2008-08-05 14:33:47 -07:00
2008-08-19 20:37:07 -07:00
2008-08-25 17:45:48 -07:00
2008-07-26 12:00:04 -07:00
2008-09-02 10:49:51 -07:00
2008-08-13 13:56:51 +02:00
2008-06-30 09:20:55 +02:00
2008-08-12 17:52:55 +10:00
2008-07-25 11:35:41 -07:00
2008-08-20 15:40:32 -07:00
2008-07-25 10:53:45 -07:00
2008-09-04 11:06:21 -07:00
2008-07-25 10:53:47 -07:00
2008-07-14 16:06:58 -07:00
2008-07-27 16:12:28 -07:00
2008-08-23 12:14:12 -07:00
2008-08-23 12:14:12 -07:00
2008-08-23 12:14:12 -07:00
2008-08-12 00:11:49 +02:00