• Paul E. McKenney's avatar
    rcutorture: Enable multiple concurrent callback-flood kthreads · 82e31003
    Paul E. McKenney authored
    This commit converts the rcutorture.fwd_progress module parameter from
    bool to int, so that it specifies the number of callback-flood kthreads.
    Values less than zero specify one kthread per CPU, however, the number of
    kthreads executing concurrently is limited to the number of online CPUs.
    This commit also reverse the order of the need-resched and callback-flood
    operations to cause the callback flooding to happen more nearly at the
    same time.
    
    Cc: Neeraj Upadhyay <neeraj.iitr10@gmail.com>
    Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
    82e31003
rcutorture.c 100 KB