rcu: Avoid double multiply by HZ
authorPaul E. McKenney <paulmck@linux.ibm.com>
Mon, 1 Oct 2018 20:25:32 +0000 (13:25 -0700)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Mon, 12 Nov 2018 17:03:59 +0000 (09:03 -0800)
commitb3c1d9ec7c59feadd22693f43145d8285bd35b04
tree67cf23249a35a7e02c777170c03888410cff7bcb
parent1dfddcdb95c426acbf9b54414fcc802e49a5aaca
rcu: Avoid double multiply by HZ

The rcu_check_gp_start_stall() function multiplies the return value
from rcu_jiffies_till_stall_check() by HZ, but the units are already
in jiffies.  This commit therefore avoids the need for introduction of
a jiffies-squared unit by removing the extraneous multiplication.

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