refperf: Change readdelay module parameter to nanoseconds
authorPaul E. McKenney <paulmck@kernel.org>
Mon, 1 Jun 2020 01:14:57 +0000 (18:14 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 29 Jun 2020 19:00:45 +0000 (12:00 -0700)
commit918b351d965560c7902ad482cf87049517843ff2
tree7e09ac9988383a7e29b510c9e16ad95647411dee
parent7c944d7c67daee84e3c756bb74ad2f32b28c41cf
refperf: Change readdelay module parameter to nanoseconds

The current units of microseconds are too coarse, so this commit
changes the units to nanoseconds.  However, ndelay is used only for the
nanoseconds with udelay being used for whole microseconds.  For example,
setting refperf.readdelay=1500 results in a udelay(1) followed by an
ndelay(500).

Suggested-by: Akira Yokosawa <akiyks@gmail.com>
[ paulmck: Abstracted delay per Akira feedback and move from 80 to 100 lines. ]
[ paulmck: Fix names as suggested by kbuild test robot. ]
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/refperf.c