mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
rcu-tasks: Clarify the cblist_init_generic() function's pr_info() output
This commit uses rtp->name instead of __func__ and outputs the value of rcu_task_cb_adjust, thus reducing console-log output. Signed-off-by: Zqiang <qiang1.zhang@intel.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
This commit is contained in:
@@ -272,10 +272,8 @@ static void cblist_init_generic(struct rcu_tasks *rtp)
|
|||||||
}
|
}
|
||||||
raw_spin_unlock_irqrestore(&rtp->cbs_gbl_lock, flags);
|
raw_spin_unlock_irqrestore(&rtp->cbs_gbl_lock, flags);
|
||||||
|
|
||||||
if (rcu_task_cb_adjust)
|
pr_info("%s: Setting shift to %d and lim to %d rcu_task_cb_adjust=%d.\n", rtp->name,
|
||||||
pr_info("%s: Setting adjustable number of callback queues.\n", __func__);
|
data_race(rtp->percpu_enqueue_shift), data_race(rtp->percpu_enqueue_lim), rcu_task_cb_adjust);
|
||||||
|
|
||||||
pr_info("%s: Setting shift to %d and lim to %d.\n", __func__, data_race(rtp->percpu_enqueue_shift), data_race(rtp->percpu_enqueue_lim));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// IRQ-work handler that does deferred wakeup for call_rcu_tasks_generic().
|
// IRQ-work handler that does deferred wakeup for call_rcu_tasks_generic().
|
||||||
|
Reference in New Issue
Block a user