projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rculfhash: document node alignment
[urcu.git]
/
urcu
/
rculfhash.h
diff --git
a/urcu/rculfhash.h
b/urcu/rculfhash.h
index 5c5d4eb1a57ad87a0b2ec8f7c10ed704efd6b66f..40fe4df6bd763f81240b4d08d8bfa7047e344ec1 100644
(file)
--- a/
urcu/rculfhash.h
+++ b/
urcu/rculfhash.h
@@
-8,8
+8,13
@@
extern "C" {
#endif
extern "C" {
#endif
+/*
+ * struct rcu_ht_node and struct _rcu_ht_node should be aligned on
+ * 4-bytes boundaries because the two lower bits are used as flags.
+ */
+
struct _rcu_ht_node {
struct _rcu_ht_node {
- struct rcu_ht_node *next;
+ struct rcu_ht_node *next;
/* ptr | DUMMY_FLAG | REMOVED_FLAG */
unsigned long reverse_hash;
};
unsigned long reverse_hash;
};
This page took
0.023791 seconds
and
4
git commands to generate.