|
@@ -688,20 +688,6 @@ void call_rcu(struct rcu_head *head, void (*func)(struct rcu_head *rcu))
|
|
}
|
|
}
|
|
EXPORT_SYMBOL_GPL(call_rcu);
|
|
EXPORT_SYMBOL_GPL(call_rcu);
|
|
|
|
|
|
-/*
|
|
|
|
- * Queue an RCU callback for lazy invocation after a grace period.
|
|
|
|
- * This will likely be later named something like "call_rcu_lazy()",
|
|
|
|
- * but this change will require some way of tagging the lazy RCU
|
|
|
|
- * callbacks in the list of pending callbacks. Until then, this
|
|
|
|
- * function may only be called from __kfree_rcu().
|
|
|
|
- */
|
|
|
|
-void kfree_call_rcu(struct rcu_head *head,
|
|
|
|
- void (*func)(struct rcu_head *rcu))
|
|
|
|
-{
|
|
|
|
- __call_rcu(head, func, &rcu_preempt_state, -1, 1);
|
|
|
|
-}
|
|
|
|
-EXPORT_SYMBOL_GPL(kfree_call_rcu);
|
|
|
|
-
|
|
|
|
/**
|
|
/**
|
|
* synchronize_rcu - wait until a grace period has elapsed.
|
|
* synchronize_rcu - wait until a grace period has elapsed.
|
|
*
|
|
*
|
|
@@ -1079,22 +1065,6 @@ static void rcu_preempt_check_callbacks(int cpu)
|
|
{
|
|
{
|
|
}
|
|
}
|
|
|
|
|
|
-/*
|
|
|
|
- * Queue an RCU callback for lazy invocation after a grace period.
|
|
|
|
- * This will likely be later named something like "call_rcu_lazy()",
|
|
|
|
- * but this change will require some way of tagging the lazy RCU
|
|
|
|
- * callbacks in the list of pending callbacks. Until then, this
|
|
|
|
- * function may only be called from __kfree_rcu().
|
|
|
|
- *
|
|
|
|
- * Because there is no preemptible RCU, we use RCU-sched instead.
|
|
|
|
- */
|
|
|
|
-void kfree_call_rcu(struct rcu_head *head,
|
|
|
|
- void (*func)(struct rcu_head *rcu))
|
|
|
|
-{
|
|
|
|
- __call_rcu(head, func, &rcu_sched_state, -1, 1);
|
|
|
|
-}
|
|
|
|
-EXPORT_SYMBOL_GPL(kfree_call_rcu);
|
|
|
|
-
|
|
|
|
/*
|
|
/*
|
|
* Wait for an rcu-preempt grace period, but make it happen quickly.
|
|
* Wait for an rcu-preempt grace period, but make it happen quickly.
|
|
* But because preemptible RCU does not exist, map to rcu-sched.
|
|
* But because preemptible RCU does not exist, map to rcu-sched.
|