diff options
author | Paul E. McKenney <paulmck@linux.ibm.com> | 2018-12-04 23:59:12 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-01-26 00:37:09 +0100 |
commit | 0d8a9ea9764a0e34e17e3b80a2be3855de239d6e (patch) | |
tree | 326c42579e175127b216f9f01a997812f6943e86 /kernel/rcu | |
parent | rcutorture: Record grace periods in forward-progress histogram (diff) | |
download | linux-0d8a9ea9764a0e34e17e3b80a2be3855de239d6e.tar.xz linux-0d8a9ea9764a0e34e17e3b80a2be3855de239d6e.zip |
torture: Explain and simplify odd "for" loop in mkinitrd.sh
Why a Bourne-shell "for" loop? And why 192 instances of "a"? This commit
adds a shell comment to present the answer to these mysteries. It also
uses a series of factor-of-four Bourne-shell assignments to make it
easy to see how many instances there are, replacing the earlier wall of
'a' characters.
Reported-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
[ paulmck: Fix wrong-variable bugs noted by Andrea Parri. ]
Diffstat (limited to 'kernel/rcu')
0 files changed, 0 insertions, 0 deletions