Sergey Senozhatsky
f85acd81aa
ioprio: rcu_read_lock/unlock protect find_task_by_vpid call (V2)
...
Commit 4221a9918e "Add RCU check for
find_task_by_vpid()" introduced rcu_lockdep_assert to find_task_by_pid_ns=
Assertion failed in sys_ioprio_get. The patch is fixing assertion
failure in ioprio_set as well.
kernel/pid.c:419 invoked rcu_dereference_check() without protection!
stack backtrace:
Pid: 4254, comm: iotop Not tainted
Call Trace:
[<ffffffff810656f2>] lockdep_rcu_dereference+0xaa/0xb2
[<ffffffff81053c67>] find_task_by_pid_ns+0x4f/0x68
[<ffffffff81053c9d>] find_task_by_vpid+0x1d/0x1f
[<ffffffff811104e2>] sys_ioprio_get+0x50/0x2da
[<ffffffff81002182>] system_call_fastpath+0x16/0x1b
V2: rcu critical section expanded according to comment by Paul E. McKenney
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com >
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com >
Signed-off-by: Jens Axboe <jaxboe@fusionio.com >
2010-11-10 14:40:53 +01:00
..
2010-10-29 04:16:38 -04:00
2010-10-29 04:16:13 -04:00
2010-10-29 04:16:13 -04:00
2010-10-29 04:17:13 -04:00
2010-10-29 04:16:31 -04:00
2010-10-29 04:16:13 -04:00
2010-10-29 04:16:13 -04:00
2010-10-30 09:05:48 -07:00
2010-10-15 15:53:27 +02:00
2010-10-29 04:17:18 -04:00
2010-11-05 17:39:01 +00:00
2010-10-29 04:16:31 -04:00
2010-10-29 04:16:28 -04:00
2010-10-29 04:16:13 -04:00
2010-10-29 04:16:28 -04:00
2010-10-29 04:16:28 -04:00
2010-10-22 17:33:16 -07:00
2010-10-29 14:15:12 -07:00
2010-10-29 04:16:13 -04:00
2010-10-29 04:16:31 -04:00
2010-10-25 21:26:13 -04:00
2010-10-29 04:16:13 -04:00
2010-10-29 04:16:13 -04:00
2010-11-02 10:38:30 -04:00
2010-10-29 04:16:13 -04:00
2010-10-29 04:16:13 -04:00
2010-08-12 09:51:35 -07:00
2010-10-29 04:16:31 -04:00
2010-10-31 06:35:15 -07:00
2010-10-29 04:16:13 -04:00
2010-10-29 04:16:13 -04:00
2010-10-29 04:16:31 -04:00
2010-10-31 20:40:24 -04:00
2010-10-29 04:16:31 -04:00
2010-10-29 04:16:31 -04:00
2010-10-29 04:16:13 -04:00
2010-10-27 20:13:18 -07:00
2010-10-30 12:12:50 +02:00
2010-10-30 08:31:35 -07:00
2010-10-29 04:16:13 -04:00
2010-10-27 21:39:50 +02:00
2010-11-01 16:34:56 -04:00
2010-10-29 04:16:13 -04:00
2010-10-29 04:16:31 -04:00
2010-10-31 06:35:15 -07:00
2010-10-31 06:35:15 -07:00
2010-10-29 04:16:53 -04:00
2010-10-30 14:07:35 -04:00
2010-10-29 04:16:13 -04:00
2010-10-29 04:16:31 -04:00
2010-10-29 04:16:13 -04:00
2010-10-29 04:16:28 -04:00
2010-10-25 07:45:10 -07:00
2010-10-29 04:17:01 -04:00
2010-10-29 04:16:13 -04:00
2010-10-28 01:30:06 +02:00
2010-10-29 04:16:31 -04:00
2010-10-29 04:16:13 -04:00
2010-10-29 04:16:26 -04:00
2010-10-29 08:48:58 -07:00
2010-10-29 04:17:08 -04:00
2010-10-29 04:16:13 -04:00
2010-10-29 04:16:36 -04:00
2010-10-29 04:16:13 -04:00
2010-10-29 04:16:13 -04:00
2010-10-29 04:16:13 -04:00
2010-10-25 21:26:11 -04:00
2010-10-29 04:16:33 -04:00
2010-08-09 16:47:39 -04:00
2010-08-14 00:24:24 +02:00
2010-10-14 10:57:40 -07:00
2010-10-08 10:02:53 +01:00
2010-10-29 04:16:28 -04:00
2010-08-17 18:07:43 -07:00
2010-08-23 13:36:59 +02:00
2010-11-10 14:40:43 +01:00
2010-10-29 04:16:33 -04:00
2010-10-26 17:58:44 -07:00
2010-10-22 10:52:56 -07:00
2010-10-28 09:44:56 -07:00
2010-10-30 08:19:35 -07:00
2010-10-25 21:26:13 -04:00
2010-10-26 16:52:13 -07:00
2010-08-09 16:47:44 -04:00
2010-10-15 15:53:27 +02:00
2010-10-27 18:03:18 -07:00
2010-10-27 18:03:13 -07:00
2010-10-27 18:17:02 -07:00
2010-10-15 15:53:27 +02:00
2010-10-26 16:52:15 -07:00
2010-08-11 08:59:02 -07:00
2010-08-18 08:35:46 -04:00
2010-10-30 09:05:48 -07:00
2010-08-18 01:04:22 -04:00
2010-10-26 17:58:44 -07:00
2010-10-29 05:49:13 -04:00
2010-10-27 21:30:11 -04:00
2010-11-10 14:40:53 +01:00
2010-10-28 09:44:56 -07:00
2010-10-27 18:03:12 -07:00
2010-10-29 04:16:33 -04:00
2010-10-31 06:35:15 -07:00
2010-10-28 09:44:56 -07:00
2010-08-18 06:24:41 -04:00
2010-10-29 04:14:56 -04:00
2010-10-25 21:24:16 -04:00
2010-10-15 15:53:27 +02:00
2010-10-29 04:14:56 -04:00
2010-10-29 04:16:33 -04:00
2010-08-18 08:35:48 -04:00
2010-10-29 10:36:49 -07:00
2010-08-09 20:45:05 -07:00
2010-10-27 18:03:18 -07:00
2010-10-25 21:26:12 -04:00
2010-10-26 10:13:10 -07:00
2010-08-07 18:52:56 +02:00
2010-08-13 16:53:13 -07:00
2010-08-09 16:48:44 -04:00
2010-10-29 04:17:03 -04:00
2010-08-09 16:47:43 -04:00
2010-10-15 15:53:27 +02:00
2010-08-13 16:53:13 -07:00