ck_epoch: Place epoch on a separate cache line.

ck_pring
Samy Al Bahra 14 years ago
parent 826d9996ac
commit f22bddddd5

@ -59,9 +59,10 @@ struct ck_epoch_record {
typedef struct ck_epoch_record ck_epoch_record_t;
struct ck_epoch {
unsigned int epoch;
char pad[CK_MD_CACHELINE - sizeof(unsigned int)];
ck_stack_t records;
unsigned int threshold;
unsigned int epoch;
unsigned int n_free;
ck_epoch_destructor_t destroy;
};

Loading…
Cancel
Save