projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add defer_rcu_ratelimit()
[userspace-rcu.git]
/
urcu-defer.h
diff --git
a/urcu-defer.h
b/urcu-defer.h
index 9fdaf1863b038e44ac6637e133dfbd4c5284f957..75b600568bc7a2df852cb246e1a300732c6989b8 100644
(file)
--- a/
urcu-defer.h
+++ b/
urcu-defer.h
@@
-43,9
+43,10
@@
* primitive need to call synchronize_rcu() if the thread queue is full.
*/
* primitive need to call synchronize_rcu() if the thread queue is full.
*/
-#define
rcu_reclaim_queue(p) defer_rcu(free, p
)
+#define
defer_rcu(fct, p) defer_rcu_ratelimit(fct, p, NULL
)
-extern void defer_rcu(void (*fct)(void *p), void *p);
+extern void defer_rcu_ratelimit(void (*fct)(void *p), void *p,
+ int (*rl)(void *p));
/*
* Thread registration for reclamation.
/*
* Thread registration for reclamation.
This page took
0.021938 seconds
and
4
git commands to generate.