projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rculfhash: node alignment is back to 4 bytes
[urcu.git]
/
urcu
/
rculfhash.h
diff --git
a/urcu/rculfhash.h
b/urcu/rculfhash.h
index c3c1cbc2b797afbbc022f1bedbc146abd7cdb61e..1f3071019f4495a2570d2d2ba0d4f083ed29714e 100644
(file)
--- a/
urcu/rculfhash.h
+++ b/
urcu/rculfhash.h
@@
-34,13
+34,13
@@
extern "C" {
/*
* struct cds_lfht_node and struct _cds_lfht_node should be aligned on
/*
* struct cds_lfht_node and struct _cds_lfht_node should be aligned on
- *
8
-bytes boundaries because the two lower bits are used as flags.
+ *
4
-bytes boundaries because the two lower bits are used as flags.
*/
struct _cds_lfht_node {
*/
struct _cds_lfht_node {
- struct cds_lfht_node *next; /* ptr | DUMMY_FLAG |
GC_FLAG |
REMOVED_FLAG */
+ struct cds_lfht_node *next; /* ptr | DUMMY_FLAG | REMOVED_FLAG */
unsigned long reverse_hash;
unsigned long reverse_hash;
-} __attribute__((aligned(
8
)));
+} __attribute__((aligned(
4
)));
struct cds_lfht_node {
/* cache-hot for iteration */
struct cds_lfht_node {
/* cache-hot for iteration */
This page took
0.023832 seconds
and
4
git commands to generate.