]> git.baikalelectronics.ru Git - kernel.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)
commitd3c813044fc0d632bc3dd8010ed78c7b0f365790
tree93b8ed1a0626d8d713d1587681c77dd9dda02342
parentbf1c74ba47008af1188de948def3d95f1fee38eb
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