diff --git a/regressions/ck_hp/validate/nbds_haz_test.c b/regressions/ck_hp/validate/nbds_haz_test.c index cb06d36..c330cb3 100644 --- a/regressions/ck_hp/validate/nbds_haz_test.c +++ b/regressions/ck_hp/validate/nbds_haz_test.c @@ -121,14 +121,14 @@ stack_pop_mpmc(ck_hp_record_t *record, struct stack *target) if (entry == NULL) return (NULL); - ck_hp_set(record, 0, entry); + ck_hp_set_fence(record, 0, entry); } while (entry != ck_pr_load_ptr(&target->head)); while (ck_pr_cas_ptr_value(&target->head, entry, entry->next, &entry) == false) { if (ck_pr_load_ptr(&entry) == NULL) break; - ck_hp_set(record, 0, entry); + ck_hp_set_fence(record, 0, entry); if (entry != ck_pr_load_ptr(&target->head)) continue;