X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=urcu%2Frculfhash.h;h=1f3071019f4495a2570d2d2ba0d4f083ed29714e;hb=58ca074148d8de7c7eb5143ef71353761bb87655;hp=c3c1cbc2b797afbbc022f1bedbc146abd7cdb61e;hpb=adc0de68ccd78689659ed49d4b3d5d36c6720e20;p=userspace-rcu.git diff --git a/urcu/rculfhash.h b/urcu/rculfhash.h index c3c1cbc..1f30710 100644 --- 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 - * 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 *next; /* ptr | DUMMY_FLAG | GC_FLAG | REMOVED_FLAG */ + struct cds_lfht_node *next; /* ptr | DUMMY_FLAG | REMOVED_FLAG */ unsigned long reverse_hash; -} __attribute__((aligned(8))); +} __attribute__((aligned(4))); struct cds_lfht_node { /* cache-hot for iteration */