]> git.baikalelectronics.ru Git - kernel.git/commit
rcu: Add comment to the last sleep in the rcu tasks loop
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 24 May 2018 22:58:16 +0000 (18:58 -0400)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 12 Jul 2018 22:39:21 +0000 (15:39 -0700)
commitdc5e91df81a26f12865d50597283d5b9e2392e5f
tree5dd316bd3b508a0c1261772425a2520330dee7ca
parent32037b6f1c6acbe748c716bdc6c62bd0199d1e6b
rcu: Add comment to the last sleep in the rcu tasks loop

At the end of rcu_tasks_kthread() there's a lonely
schedule_timeout_uninterruptible() call with no apparent rationale for
its existence. But there is. It is to keep the thread from going into
a tight loop if there's some anomaly. That really needs a comment.

Link: http://lkml.kernel.org/r/20180524223839.GU3803@linux.vnet.ibm.com
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/update.c