• Paul E. McKenney's avatar
    torture: Handle systems lacking the mpstat command · b8dfff97
    Paul E. McKenney authored
    The rcutorture scripting uses the mpstat command to determine how much
    the system is being used, and adjusts make's -j argument accordingly.
    However, mpstat isn't installed by default, so it would be good if the
    scripting does something useful when mpstat isn't present.
    
    This commit therefore makes the scripts assumes that if mpstat is not
    present, they are free to use all the CPUs.
    Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
    b8dfff97
cpus2use.sh 900 Bytes