Re: Simplifying our RCU models
From: Ingo Molnar
Date: Tue Mar 06 2018 - 04:01:01 EST
* Ingo Molnar <mingo@xxxxxxxxxx> wrote:
> I.e. the new RCU namespace would be something like:
>
> call_rcu => rcu_call_rcu
typo: rcu_call().
> synchronize_rcu => rcu_wait_
typo: rcu_wait().
Here's the updated table:
# RCU APIs:
rcu_read_lock => rcu_read_lock # unchanged
rcu_read_unlock => rcu_read_unlock # unchanged
call_rcu => rcu_call
call_rcu_bh => rcu_call_bh
call_rcu_sched => rcu_call_sched
synchronize_rcu => rcu_wait
synchronize_rcu_bh => rcu_wait_bh
synchronize_rcu_bh_expedited => rcu_wait_expedited_bh
synchronize_rcu_expedited => rcu_wait_expedited
synchronize_rcu_mult => rcu_wait_mult
synchronize_rcu_sched => rcu_wait_sched
synchronize_rcu_tasks => rcu_wait_tasks
get_state_synchronize_rcu => rcu_get_state
cond_synchronize_rcu => rcu_wait_state
# SRCU APIs:
srcu_read_lock => srcu_read_lock # unchanged
srcu_read_unlock => srcu_read_unlock # unchanged
synchronize_srcu => srcu_wait
synchronize_srcu_expedited => srcu_wait_expedited
Thanks,
Ingo