softlockup: convert read_lock in hung_task to rcu_read_lock

Since the tasklist is protected by rcu list operations, it is safe
to convert the read_lock()s to rcu_read_lock().

Suggested-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Mandeep Singh Baines <msb@google.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

authored by Mandeep Singh Baines and committed by Ingo Molnar 94be52dc ce9dbe24

+2 -2
+2 -2
kernel/hung_task.c
··· 155 155 if (test_taint(TAINT_DIE) || did_panic) 156 156 return; 157 157 158 - read_lock(&tasklist_lock); 158 + rcu_read_lock(); 159 159 do_each_thread(g, t) { 160 160 if (!--max_count) 161 161 goto unlock; ··· 171 171 check_hung_task(t, now, timeout); 172 172 } while_each_thread(g, t); 173 173 unlock: 174 - read_unlock(&tasklist_lock); 174 + rcu_read_unlock(); 175 175 } 176 176 177 177 static void update_poll_jiffies(void)