diff options
author | Frederic Weisbecker | 2020-09-21 14:43:40 +0200 |
---|---|---|
committer | Paul E. McKenney | 2020-11-19 19:37:16 -0800 |
commit | e3771c850d3b9349b48449c9a91c98944a08650c (patch) | |
tree | 3e9eff89ac133d6153948421e5b20185f4faf0ce /kernel/rcu/tree.h | |
parent | 1eafe075bf9cb4db575be4ddf1b1c8256758714a (diff) |
rcu: Implement rcu_segcblist_is_offloaded() config dependent
This commit simplifies the use of the rcu_segcblist_is_offloaded() API so
that its callers no longer need to check the RCU_NOCB_CPU Kconfig option.
Note that rcu_segcblist_is_offloaded() is defined in the header file,
which means that the generated code should be just as efficient as before.
Suggested-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Cc: Paul E. McKenney <paulmck@kernel.org>
Cc: Josh Triplett <josh@joshtriplett.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Lai Jiangshan <jiangshanlai@gmail.com>
Cc: Joel Fernandes <joel@joelfernandes.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/rcu/tree.h')
0 files changed, 0 insertions, 0 deletions