• Paul E. McKenney's avatar
    rcu: Make rcutorture's shuffler task shuffle recently added tasks · 0e11c8e8
    Paul E. McKenney authored
    A number of kthreads have been added to rcutorture, but the shuffler
    task was not informed of them, and thus did not shuffle them.  This
    commit therefore adds the requisite shuffling, and, while in the area
    fixes up some whitespace issues.
    
    However, the shuffling is intended to keep randomly selected CPUs
    idle, which means that the RCU priority boosting kthreads need to
    avoid waking up every jiffy.  This commit also makes that fix.
    Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
    0e11c8e8
rcutorture.c 63.3 KB