rcu: Fix missing task information during rcu-preempt stall
authorPatrick Daly <pdaly@codeaurora.org>
Tue, 7 Apr 2015 22:12:07 +0000 (15:12 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 27 May 2015 19:58:02 +0000 (12:58 -0700)
commit82efed06d5e370f1526ec93ff4c2c2496542f615
tree9f0cc0df8657d5260f9735491b0631e5a68e32bf
parenta76ff6884bfedfafcbb0d9c84c7a6b6a546cba6d
rcu: Fix missing task information during rcu-preempt stall

The first item list_for_each_entry_continue(alist) iterates over is
alist->next, rather than alist itself. Consequently,
rcu_print_detail_task_stall_rnp() skips the task referenced by gp_tasks.

Use gp_tasks->prev as the argument to list_for_each_entry_continue()
instead.

Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tree_plugin.h