summaryrefslogtreecommitdiff
path: root/include/linux/rcu_pending.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-08-14 18:45:08 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2024-08-19 22:04:25 -0400
commit3d84522f7f858684b36bd573e926302921da272d (patch)
tree6ae4adda4fbc3eb677731377a4b84821a1564889 /include/linux/rcu_pending.h
parent1d7f9e1013ef3a9e3ee4803520ed83c3587e2c11 (diff)
rcu: Switch kvfree_rcu() to new rcu_pendingrcu_pending
This nets us a slight performance increase, and converts to common code. Todo - re-add the shrinker, so that memory reclaim can free expired objects and expedite a grace period when necessary. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'include/linux/rcu_pending.h')
-rw-r--r--include/linux/rcu_pending.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/rcu_pending.h b/include/linux/rcu_pending.h
index a875c640da8d..5ef6392ce180 100644
--- a/include/linux/rcu_pending.h
+++ b/include/linux/rcu_pending.h
@@ -22,4 +22,6 @@ int rcu_pending_init(struct rcu_pending *pending,
struct srcu_struct *srcu,
rcu_pending_process_fn process);
+void __init kvfree_rcu_pending_init(void);
+
#endif /* _LINUX_RCU_PENDING_H */