You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Paul Khuong
44a6527f33
ck_ring.h: make _ck_ring_enqueue_mp less failure happy
...
With preemption, it is possible for _ck_ring_enqueue_mp to have a
snapshot of p_head so stale with respect to the later snapshot of
c_head that a comparison modulo (small) ring size will erroneously
conclude that the ring is full.
Detect that case and retry rather than failing. We only retry when
the enqueuers have made global forward progress, so the first loop
is as lock-free as it ever was.
Bonus: the new condition should be marginally faster.
8 years ago
..
gcc
Minor editorial updates and update CFLAGS for production use
8 years ago
spinlock
spinlock/dec: backoff until lock state transition in lock_eb.
8 years ago
ck_array.h
ck: Reimplement a few libc headers, to make CK build when compiling in the
9 years ago
ck_backoff.h
whitespace: Strictly conform to C namespacing rules.
10 years ago
ck_barrier.h
whitespace: Strictly conform to C namespacing rules.
10 years ago
ck_bitmap.h
ck_bitmap: Use CK_BITMAP_OFFSET.
9 years ago
ck_brlock.h
ck: Reimplement a few libc headers, to make CK build when compiling in the
9 years ago
ck_bytelock.h
ck: Reimplement a few libc headers, to make CK build when compiling in the
9 years ago
ck_cc.h
ck_cc: Add FORCE_INLINE attribute and remove stale comments.
9 years ago
ck_cohort.h
ck: Reimplement a few libc headers, to make CK build when compiling in the
9 years ago
ck_elide.h
ck: Reimplement a few libc headers, to make CK build when compiling in the
9 years ago
ck_epoch.h
ck_epoch: remove overzealous padding.
8 years ago
ck_fifo.h
ck: Reimplement a few libc headers, to make CK build when compiling in the
9 years ago
ck_hp.h
ck_hp: Implement ck_hp_set_fence.
10 years ago
ck_hp_fifo.h
ck: Reimplement a few libc headers, to make CK build when compiling in the
9 years ago
ck_hp_stack.h
ck: Reimplement a few libc headers, to make CK build when compiling in the
9 years ago
ck_hs.h
ck: Reimplement a few libc headers, to make CK build when compiling in the
9 years ago
ck_ht.h
ck_ht: ck_hm not making it to next release, remove warning.
9 years ago
ck_limits.h
ck: Reimplement a few libc headers, to make CK build when compiling in the
9 years ago
ck_malloc.h
ck: Reimplement a few libc headers, to make CK build when compiling in the
9 years ago
ck_md.h.in
AArch64 LSE support.
8 years ago
ck_pflock.h
ck_*lock: Migrate all locking primitives to lock / unlock.
10 years ago
ck_pr.h
Add s390x support
8 years ago
ck_queue.h
ck_queue: update doc: no tail queue, add STAILQ description
9 years ago
ck_rhs.h
ck: Reimplement a few libc headers, to make CK build when compiling in the
9 years ago
ck_ring.h
ck_ring.h: make _ck_ring_enqueue_mp less failure happy
8 years ago
ck_rwcohort.h
ck: Reimplement a few libc headers, to make CK build when compiling in the
9 years ago
ck_rwlock.h
ck: Reimplement a few libc headers, to make CK build when compiling in the
9 years ago
ck_sequence.h
ck: Reimplement a few libc headers, to make CK build when compiling in the
9 years ago
ck_spinlock.h
whitespace: Strictly conform to C namespacing rules.
10 years ago
ck_stack.h
ck: Reimplement a few libc headers, to make CK build when compiling in the
9 years ago
ck_stdbool.h
ck: Reimplement a few libc headers, to make CK build when compiling in the
9 years ago
ck_stddef.h
ck: Reimplement a few libc headers, to make CK build when compiling in the
9 years ago
ck_stdint.h
ck: Reimplement a few libc headers, to make CK build when compiling in the
9 years ago
ck_stdlib.h
ck: Reimplement a few libc headers, to make CK build when compiling in the
9 years ago
ck_string.h
ck: Reimplement a few libc headers, to make CK build when compiling in the
9 years ago
ck_swlock.h
ck: Reimplement a few libc headers, to make CK build when compiling in the
9 years ago
ck_tflock.h
ck_*lock: Migrate all locking primitives to lock / unlock.
10 years ago