• Paul E. McKenney's avatar
    rcutorture: Avoid RCU CPU stall warning and RT throttling · 620316e5
    Paul E. McKenney authored
    Running rcuperf can result in RCU CPU stall warnings and RT throttling.
    These occur because on of the real-time writer processes does
    ftrace_dump() while still running at real-time priority.  This commit
    therefore prevents these problems by setting the writer thread back to
    SCHED_NORMAL (AKA SCHED_OTHER) before doing ftrace_dump().
    
    In addition, this commit adds a small fixed delay before dumping ftrace
    buffer in order to decrease the probability that this dumping will
    interfere with other writers' grace periods.
    Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
    620316e5
rcuperf.c 15.9 KB