函数源码

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source File:kernel\rcu\rcuperf.c Create Date:2022-07-27 11:24:00
首页 Copyright©Brick

295
296
297
298
299
300
301
302
303
304
305
/*
 * If performance tests complete, wait for shutdown to commence.
 */
static void rcu_perf_wait_shutdown(void)
{
    cond_resched_tasks_rcu_qs();
    if (atomic_read(&n_rcu_perf_writer_finished) < nrealwriters)
        return;
    while (!torture_must_stop())
        schedule_timeout_uninterruptible(1);
}