From 03c5a8f55284f3627b93bc66284347804c77b892 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 29 Sep 2011 17:40:01 -0400 Subject: [PATCH] call_rcu: Document call_rcu requirements Signed-off-by: Mathieu Desnoyers --- urcu-call-rcu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/urcu-call-rcu.h b/urcu-call-rcu.h index 5ea0c23..d00bb4a 100644 --- a/urcu-call-rcu.h +++ b/urcu-call-rcu.h @@ -75,7 +75,7 @@ int set_cpu_call_rcu_data(int cpu, struct call_rcu_data *crdp); struct call_rcu_data *get_default_call_rcu_data(void); /* * get_call_rcu_data should be called from registered RCU read-side - * threads. + * threads. For the QSBR flavor, the caller should be online. */ struct call_rcu_data *get_call_rcu_data(void); struct call_rcu_data *get_thread_call_rcu_data(void); @@ -83,6 +83,7 @@ void set_thread_call_rcu_data(struct call_rcu_data *crdp); int create_all_cpu_call_rcu_data(unsigned long flags); /* * call_rcu should be called from registered RCU read-side threads. + * For the QSBR flavor, the caller should be online. */ void call_rcu(struct rcu_head *head, void (*func)(struct rcu_head *head)); -- 2.34.1