rcutorture: Make initrd/init execute in userspace
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 23 Aug 2018 22:23:23 +0000 (15:23 -0700)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Fri, 9 Nov 2018 05:52:55 +0000 (21:52 -0800)
commit229ab0cb5be3bfbac5947df7240f6905470ca413
tree91259ffddc8bf0d53ffac04e0685406849f75541
parent38e630424ba304dbe07ae52aa78d1ed6d38d9f75
rcutorture: Make initrd/init execute in userspace

Currently, the initrd/init script and executable remain blocked almost
all the time.  However, it is necessary to test nohz_full userspace
execution, which both variants of initrd/init fail to do.  This commit
therefore causes initrd/init to spend about a millisecond per second
executing in userspace.

Reported-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
tools/testing/selftests/rcutorture/bin/mkinitrd.sh