• Paul E. McKenney's avatar
    rcutorture: Force on tick for readers and callback flooders · d38e6dc6
    Paul E. McKenney authored
    
    
    Readers and callback flooders in the rcutorture stress-test suite run for
    extended time periods by design.  They do take pains to relinquish the
    CPU from time to time, but in some cases this relies on the scheduler
    being active, which in turn relies on the scheduler-clock interrupt
    firing from time to time.
    
    This commit therefore forces scheduling-clock interrupts within
    these loops.  While in the area, this commit also prevents
    rcu_torture_reader()'s occasional timed sleeps from delaying shutdown.
    
    [ paulmck: Apply Joel Fernandes TICK_DEP_MASK_RCU->TICK_DEP_BIT_RCU fix. ]
    Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
    d38e6dc6
rcutorture.c 73.7 KB