OSDN Git Service

rcu: When GP kthread is starved, tag idle threads as false positives
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 1 Apr 2020 02:00:52 +0000 (19:00 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 27 Apr 2020 18:04:37 +0000 (11:04 -0700)
commit88375825171c7de5f1e68ac6fd5d35d3b831da3c
tree978d9706e95db750c638e49fcba99205081bc6bc
parent654db05cee8186cf9438d94ef32a4f9ffe964e57
rcu: When GP kthread is starved, tag idle threads as false positives

If the grace-period kthread is starved, idle threads' extended quiescent
states are not reported.  These idle threads thus wrongly appear to
be blocking the current grace period.  This commit therefore tags such
idle threads as probable false positives when the grace-period kthread
is being starved.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tree_stall.h