]> asedeno.scripts.mit.edu Git - linux.git/commit
rcutorture: Dump writer stack if stalled
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 30 Aug 2017 17:40:17 +0000 (10:40 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 9 Oct 2017 21:26:09 +0000 (14:26 -0700)
commit0032f4e889764d22ccccb6a15742071d6f0d1f5a
tree93b8ed1a0626d8d713d1587681c77dd9dda02342
parent2b1516e55f8416acfb48d5f43d41222d180fb5a3
rcutorture: Dump writer stack if stalled

Right now, rcutorture warns if an rcu_torture_writer() kthread stalls,
but this warning is not always all that helpful.  This commit therefore
makes the first such warning include a stack dump.

This in turn requires that sched_show_task() be exported to GPL modules,
so this commit makes that change as well.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/rcutorture.c
kernel/sched/core.c