-
Paul E. McKenney authored
Given that sysfs can change the value of rcu_resched_ns at any time, this commit adds a READ_ONCE() to the sole access to that variable. While in the area, this commit also adds bounds checking, clamping the value to at least a millisecond, but no longer than a second. Signed-off-by:
Paul E. McKenney <paulmck@kernel.org>
a2b354b9