projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rcuja: API change: move rcu_head to user code
[userspace-rcu.git]
/
rcuja
/
rcuja-shadow-nodes.c
diff --git
a/rcuja/rcuja-shadow-nodes.c
b/rcuja/rcuja-shadow-nodes.c
index 63497c213c09abae9ccab8981074816189437784..917c6a2038e8c11a809fb4acfd5cf69be8d57b02 100644
(file)
--- a/
rcuja/rcuja-shadow-nodes.c
+++ b/
rcuja/rcuja-shadow-nodes.c
@@
-33,7
+33,6
@@
#include <time.h>
#include "rcuja-internal.h"
#include <time.h>
#include "rcuja-internal.h"
-#include "bitfield.h"
static unsigned long hash_seed;
static unsigned long hash_seed;
@@
-378,7
+377,7
@@
rcu_unlock:
__attribute__((visibility("protected")))
void rcuja_shadow_prune(struct cds_lfht *ht,
unsigned int flags,
__attribute__((visibility("protected")))
void rcuja_shadow_prune(struct cds_lfht *ht,
unsigned int flags,
- void (*
free_node_cb)(struct rcu_head *head
))
+ void (*
rcu_free_node)(struct cds_ja_node *node
))
{
const struct rcu_flavor_struct *flavor;
struct cds_ja_shadow_node *shadow_node;
{
const struct rcu_flavor_struct *flavor;
struct cds_ja_shadow_node *shadow_node;
@@
-398,7
+397,7
@@
void rcuja_shadow_prune(struct cds_lfht *ht,
if (shadow_node->level == shadow_node->ja->tree_depth - 1) {
rcuja_free_all_children(shadow_node,
shadow_node->node_flag,
if (shadow_node->level == shadow_node->ja->tree_depth - 1) {
rcuja_free_all_children(shadow_node,
shadow_node->node_flag,
-
free_node_cb
);
+
rcu_free_node
);
}
if (flags & RCUJA_SHADOW_CLEAR_FREE_LOCK) {
flavor->update_call_rcu(&shadow_node->head,
}
if (flags & RCUJA_SHADOW_CLEAR_FREE_LOCK) {
flavor->update_call_rcu(&shadow_node->head,
This page took
0.023842 seconds
and
4
git commands to generate.