63typedef struct rcu_entry
93#define RCU_READ_SCOPE() \
95 __attribute__((cleanup(rcu_read_unlock_cleanup))) int CONCAT(r, __COUNTER__) = 1;
void sched_disable(void)
Disables preemption on the current CPU.
void sched_enable(void)
Enables preemption on the current CPU.
static void rcu_read_unlock(void)
RCU read-side critical section end.
void rcu_report_quiescent(void)
Called during a context switch to report a quiescent state.
void rcu_call_free(void *arg)
Helper callback to free a pointer.
static void rcu_read_unlock_cleanup(int *_)
void rcu_call_cache_free(void *arg)
Helper callback to free a cache object.
void(* rcu_callback_t)(void *arg)
RCU callback function type.
void rcu_synchronize(void)
Wait for all pre-existing RCU read-side critical sections to complete.
static void rcu_read_lock(void)
RCU read-side critical section begin.
void rcu_call(rcu_entry_t *entry, rcu_callback_t func, void *arg)
Add a callback to be executed after a grace period.
A entry in a doubly linked list.
Intrusive RCU head structure.