• Paul E. McKenney's avatar
    refperf: Add warmup and cooldown processing phases · 2db0bda3
    Paul E. McKenney authored
    This commit causes all the readers to start running unmeasured load
    until all readers have done at least one such run (thus having warmed
    up), then run the measured load, and then run unmeasured load until all
    readers have completed their measured load.  This approach avoids any
    thread running measured load while other readers are idle.
    
    Cc: Joel Fernandes (Google) <joel@joelfernandes.org>
    Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
    2db0bda3
refperf.c 13.8 KB