Commit Graph

668 Commits (master)

Author SHA1 Message Date
Samy Al Bahra c2ce635080 spinlock/ticket: Remove dead variable.
10 years ago
Samy Al Bahra a5b4ca9ffc ck_pr/ppc64: Use unsafe for ugly aliasing hack.
10 years ago
Samy Al Bahra e693cb9afe ck_*lock: Migrate all locking primitives to lock / unlock.
10 years ago
Samy Al Bahra 1537c8091d ck_pr: Introduce ck_pr_fence_lock and fence_unlock.
10 years ago
Samy Al Bahra 787cffe9c9 ck_pr/arm: store_load requires DMB.
10 years ago
Samy Al Bahra b2407aa3f0 whitespace/mcs: Wrap to 80 columns.
10 years ago
Samy Al Bahra 060ef37e5e whitespace/ck_bitmap: Fix minor typo in comments.
10 years ago
Samy Al Bahra 0e8d445049 ck_epoch: Specialize begin according to memory model.
10 years ago
Samy Al Bahra a26c891f1a ck_hp_fifo: Migrate to ck_hp_set_fence.
10 years ago
Samy Al Bahra 419ddca3ad ck_hp_stack: Switch to ck_hp_set_fence.
10 years ago
Samy Al Bahra 9efb74da4b ck_hp: Implement ck_hp_set_fence.
10 years ago
Olivier Houchard 8b0bdb1901 ck_rhs: Introduce ck_rhs_set_load_factor() to change the load factor.
10 years ago
William Light e9d96eb9f6 ck_ring: make a few arguments const
10 years ago
Olivier Houchard 477b37b249 gcc/ck_pr: I made up my mind, ck_pr_stale() has to provide a compiler barrier.
10 years ago
Olivier Houchard a30c54f64a gcc/ck_pr: Revert previous commit
10 years ago
Olivier Houchard 6dc4d2664f gcc/ck_pr: ck_pr_stall() should act as a compiler barrier too.
10 years ago
Samy Al Bahra 63d6c00c3d gcc/ck_pr: GCC-backed primitives should serve as compiler barriers.
10 years ago
Samy Al Bahra 8ee26212f9 ck_pr: Reference MD-implementation for CAS wrapper.
10 years ago
Samy Al Bahra cb7620ed78 ck_pr: Re-order definitions for readability.
10 years ago
Olivier Houchard 780a573fb2 ck_pr: Rename ck_pr_[load|store]_ptr to ck_pr_md_[load|store]_ptr in the
10 years ago
Samy Al Bahra 3729eedee9 ck_bytelock: Rely on TSO ordering to remove write-side barrier.
10 years ago
Samy Al Bahra c217428f1b whitespace/gcc: Missed some files during EOF sweep.
10 years ago
Samy Al Bahra b8be614461 ck_cc: Add DECONST_PTR and RESTRICT.
10 years ago
John Wittrock 4ef225172e Make ck_pr_store_* and ck_pr_load_* a bit more type safe.
10 years ago
Olivier Houchard 421d4d1901 arm/ck_pr: Make sure 64bits load/store are atomic.
10 years ago
Emilio G. Cota c1381a4e24 arm/ck_pr: add missing conversion to CK_ namespace
10 years ago
Samy Al Bahra 554e2f0874 whitespace: Strictly conform to C namespacing rules.
10 years ago
Samy Al Bahra 3c2c91daa4 spinlock/mcs: Migrate to acquire semantics on lock.
10 years ago
Samy Al Bahra d99feda642 *clh: Migrate to acquire interface for lock.
10 years ago
Samy Al Bahra 0029650be1 Merge branch 'master' of https://github.com/concurrencykit/ck
10 years ago
Samy Al Bahra 851098b552 ck_fifo: Add fences to ABA-friendly operations.
10 years ago
Samy Al Bahra f95c2c2413 ck_stack: Add fences for ABA-friendly push_mpmc.
10 years ago
Samy Al Bahra 6faceae8ad ck_ht: Make deprecation official.
10 years ago
Samy Al Bahra 4214561c97 ck_pr: (Re-)introduce ck_pr_rfo.
10 years ago
Samy Al Bahra 1474471445 ck_pr: Add basic ck_pr_rfo interface.
10 years ago
Samy Al Bahra dc8f36c96c whitespace/spinlock: Remove extraneous end of file lines.
10 years ago
Samy Al Bahra 8b20998ecd whitespace/ck_swlock: Fix typo in comment.
10 years ago
Samy Al Bahra 0dfd145aa6 whitespace: Update Copyright messages.
10 years ago
Samy Al Bahra ae3a579216 ppc*: -Wcast-qual clean-up.
10 years ago
Samy Al Bahra a6ac5b81fb x86_64: Add const qualifier to load_ptr_2.
10 years ago
Samy Al Bahra 9d59c3d004 x86: -Wcast-qual clean-up.
10 years ago
Samy Al Bahra 4224f53159 ck_cc: -Wcast-qual clean-up.
10 years ago
Samy Al Bahra 7d70240449 general: First pass cast qualifier warning fixes.
10 years ago
Samy Al Bahra 508e92d2fc ck_backoff: Remove usage of volatile.
10 years ago
Olivier Houchard 0f7827f479 ck_pr: Prettify the arm bits.
10 years ago
Olivier Houchard 3aa63b3912 ck_rhs: Implement ck_rhs_apply, similarly to what has been done in ck_hs.
10 years ago
Samy Al Bahra e39223da44 ck_sequence: Constify read-only operations.
10 years ago
Samy Al Bahra d6ba2a6273 whitespace: Sweeping whitespace changes.
10 years ago
Samy Al Bahra 01aa93f05a regressions/ck_hs: Additional ck_hs_apply coverage.
10 years ago
Samy Al Bahra 40c7a1f24c ck_bitmap: Wrap long lines (style).
10 years ago
David Joseph 1d7057eb58 ck_bitmap: add a ck_bitmap_bts function.
10 years ago
Marcin Juszkiewicz de0e582eba Add ck_pr_fence_acquire/release to generic GCC version
10 years ago
Samy Al Bahra b45f94a611 Merge branch 'master' of github.com:sbahra/ck
11 years ago
Bruce Spang a514e81209 Fix typo in ck_rhs.h
11 years ago
Samy Al Bahra be11635b12 ck_bitmap: Consistent Copyright.
11 years ago
Samy Al Bahra cd17fed7dc ck_pflock: Migrate to acquire / release fences.
11 years ago
Samy Al Bahra 6b2f5130f7 ck_swlock: Whitespace changes.
11 years ago
Jaidev Sridhar 11f79b64f7 ck_swlock: cleanup
11 years ago
Jaidev Sridhar d95c609090 Merge remote-tracking branch 'upstream/swlock' into ck_swlock
11 years ago
Jaidev Sridhar b70a5479ca ck_swlock: snapshot
11 years ago
Samy Al Bahra 217f7a2f32 ck_swlock: Load spin on write bit.
11 years ago
Samy Al Bahra 4d7f4fff6d ck_swlock: Fix latch operation.
11 years ago
Samy Al Bahra bbad068f5a ck_swlock: Make latch operation write-biased.
11 years ago
Samy Al Bahra e2f7df0f1d ck_swlock: Various improvements.
11 years ago
Samy Al Bahra 66aee95dd1 Merge branch 'ck_swlock' of github.com:skjaidev/ck into swlock
11 years ago
Jaidev Sridhar c246865ce7 ck_swlock: Removed comment
11 years ago
Jaidev Sridhar 4471ea2df8 ck_swlock: Acquire semantics
11 years ago
Jaidev Sridhar e6feed1f89 ck_swlock: Rename lock field
11 years ago
Jaidev Sridhar 0f44d50e33 ck_swlock: Use single word for lock bits
11 years ago
Samy Al Bahra 411afc3c47 *lock: Simplify initialization semantics.
11 years ago
Samy Al Bahra f3539396c2 *lock: Simply use compiler barrier on initialization.
11 years ago
Samy Al Bahra b24a9af88a ck_pflock: Migrate initializer to use compiler barrier.
11 years ago
Samy Al Bahra 722f526a0e ck_tflock: Remove extraneous newline.
11 years ago
Samy Al Bahra 46042c7996 tflock: Task-fair reader-writer locks reference implementation.
11 years ago
Jaidev Sridhar 9ee4334e10 Merge remote-tracking branch 'upstream/master' into ck_swlock
11 years ago
Jaidev Sridhar 15a0485c01 ck_swlock: make ck_swlock_recursive_write_unlatch() wait-free.
11 years ago
Samy Al Bahra ca70ce684c ck_swlock: Unlatch operation should be wait-free.
11 years ago
Jaidev Sridhar 27a79623a6 ck_swlock: Need to lock cache-line on write lock
11 years ago
Jaidev Sridhar 0ee31c1557 ck_swlock: Need barrier
11 years ago
Jaidev Sridhar bf8779ab13 ck_swlock: Decrement n_readers in TATAS style loop.
11 years ago
Jaidev Sridhar 8646990847 Merge remote-tracking branch 'jsridhar-dev/ck_swlock' into ck_swlock
11 years ago
Jaidev Sridhar 1f03809acb ck_swlock: We shouldn't decrement n_readers when
11 years ago
Paul Khuong f06a5c4a71 ck_bitmap: more bulk operations, less space, more tests
11 years ago
Paul Khuong 96fdf1efbd ck_cc: new bitwise ops
11 years ago
Samy Al Bahra bfc9837d4f ck_swlock: Whitespace change.
11 years ago
Samy Al Bahra 63b79c7b1e ck_swlock: Fix Copyright ordering.
11 years ago
Samy Al Bahra 6fe2bba224 ck_swlock: Fix-up TATAS loop.
11 years ago
Samy Al Bahra a1daff18ea ck_swlock: Switch to TATAS style loop for latch operations.
11 years ago
Samy Al Bahra 82f33b3fe9 ck_swlock: First round fixes for ck_swlock.
11 years ago
Jaidev Sridhar 9732e2bdb3 ck_swlock: A single writer rwlock.
11 years ago
Samy Al Bahra 176dfce5c3 ck_rwlock: Fix conflict.
11 years ago
Samy Al Bahra e2913ab9c0 Revert "ck_rwlock: Migrate to 32-bit primitives and add a write_latch operation."
11 years ago
Samy Al Bahra 6ccfb84d81 Revert "ck_rwlock: Use sub for unlatch operation."
11 years ago
Samy Al Bahra ed476a617c Revert "ck_rwlock: Clear reader bits on unlatch operation."
11 years ago
Samy Al Bahra cdfac8213f Revert "ck_rwlock: Re-observe latch bits if necessary."
11 years ago
Samy Al Bahra 88d323f40d Revert "ck_rwlock: Acquire semantics for ordering on latch bits."
11 years ago
Samy Al Bahra 9ebd19a124 Revert "ck_rwlock: Add ck_rwlock_read_latchlock operation."
11 years ago
Samy Al Bahra cf097db790 Revert "ck_rwlock: Ignore latch bits on write lock operation."
11 years ago
Samy Al Bahra e2bd885953 Revert "ck_rwlock: Re-organization of write-side operations and latch support for write_trylock."
11 years ago
Samy Al Bahra 9aad0125af Revert "ck_rwlock: Additional re-organization of write-side functions."
11 years ago
Samy Al Bahra d3a7adaf8c Revert "ck_rwlock: Additional reorganization."
11 years ago
Samy Al Bahra 2a701163eb ck_rwlock: Ditch ck_rwlock latch for ck_swlock.
11 years ago
Samy Al Bahra 56de32fffd ck_rwlock: Additional reorganization.
11 years ago
Samy Al Bahra d9b86d2d89 ck_rwlock: Additional re-organization of write-side functions.
11 years ago
Samy Al Bahra ab22fda4e7 ck_rwlock: Re-organization of write-side operations and latch support for write_trylock.
11 years ago
Samy Al Bahra 8173b937bf ck_rwlock: Ignore latch bits on write lock operation.
11 years ago
Samy Al Bahra bc7ebc62eb ck_rwlock: Add ck_rwlock_read_latchlock operation.
11 years ago
Samy Al Bahra 2b567320de ck_rwlock: Acquire semantics for ordering on latch bits.
11 years ago
Samy Al Bahra fa28622386 ck_rwlock: Re-observe latch bits if necessary.
11 years ago
Samy Al Bahra 7f945460bc ck_rwlock: Clear reader bits on unlatch operation.
11 years ago
Samy Al Bahra b7c3c8a43d ck_rwlock: Use sub for unlatch operation.
11 years ago
Samy Al Bahra 3cae483bce Merge branch 'master' of git.concurrencykit.org:ck
11 years ago
Samy Al Bahra 210b724061 ck_rwlock: Migrate to 32-bit primitives and add a write_latch operation.
11 years ago
Samy Al Bahra f8b41af77c x86_64: Require 32-bit immediate values for expansion.
11 years ago
Samy Al Bahra cefd6bc9ec ck_ring: Remove stale comment from pre-memcpy implementation.
11 years ago
Samy Al Bahra 396ceb16bb ck_ring: Fix typo in type-specialized ck_ring_dequeue_tryspmc.
11 years ago
Samy Al Bahra 6e0f79c70e ck_tflock: Initial check-in of reference implementation.
11 years ago
Samy Al Bahra 671d067ea0 ck_bytelock: Fix casting error affecting 32-bit architectures.
11 years ago
Samy Al Bahra 81f267ce62 Merge branch 'master' of git.concurrencykit.org:ck
11 years ago
Samy Al Bahra b97b0021f9 ck_barrier: Just pass-through tournament barrier with only one participating thread.
11 years ago
Samy Al Bahra 15ce0501d2 ck_sequence: Add branch hint for short-circuit.
11 years ago
Samy Al Bahra cb8f5f9ebb ck_hp_fifo: Add deinit routine to allow reclaiming stub node.
11 years ago
Samy Al Bahra c75e470ed4 ck_fifo_spsc: De-initialize from head.
11 years ago
Samy Al Bahra 06feae82f3 ck_hp_fifo: No need for volatile atomic stores on initialization.
11 years ago
Samy Al Bahra 5ec8191ded ck_fifo: Add ck_fifo_*_deinit routines.
11 years ago
Samy Al Bahra 15ac0bc691 ck_bitmap: Fix length calculation error in ck_bitmap_union (crasher).
11 years ago
Samy Al Bahra 08be876fa6 ck_bytelock: Correctly compute byte sequence length for readers.
11 years ago
Samy Al Bahra 190b204059 ck_bitmap: Drop _mpmc suffix and add union operation.
11 years ago
Samy Al Bahra 76e43825a7 Merge remote-tracking branch 'origin/cognet'
11 years ago
Samy Al Bahra b8c801136a ck_bytelock: Fix deadlock for unslotted reader workloads.
11 years ago
User Doginou 59cedf10c6 ck_rhs: Add a read mostly mode.
11 years ago
Olivier Houchard bf686c0a42 ck_rhs: Add.
11 years ago
Samy Al Bahra c197b37df1 legal: Update Copyright statements.
11 years ago
Samy Al Bahra 0c4ed1d14f ck_pflock: Use store barrier on init.
11 years ago
Samy Al Bahra 0353cdcb23 ck_rwlock: Migrate to acquire / release and other barrier improvements.
11 years ago
Samy Al Bahra 38c40315a2 ck_brlock: Use store barrier on initialization.
11 years ago
Samy Al Bahra ac8397d8b5 ck_rwcohort: Migrate to acquire / release.
11 years ago
Samy Al Bahra 5280253974 ck_pflock: Use precise barrier in read_unlock.
11 years ago
Samy Al Bahra febdb8c164 ck_brlock: Use precise barrier for read_unlock.
11 years ago
Samy Al Bahra 0c205740aa ck_pflock: Migrate to acquire / release.
11 years ago
Samy Al Bahra ad5e00cfb9 ck_epoch: Read-side latency improvements on x86.
11 years ago
Samy Al Bahra cad7b53273 ck_epoch: Migrate to acquire / release.
11 years ago
Samy Al Bahra e8051b79c2 ck_elide: Add comment indicating purposeful omission of barriers.
11 years ago
Samy Al Bahra 16f7568e5c ck_cohort: Migrate to acquire / release.
11 years ago
Samy Al Bahra 44689f7e69 ck_bytelock: Migrate to acquire / release.
11 years ago
Samy Al Bahra f314b52035 ck_brlock: Migrate to acquire/release.
11 years ago
Samy Al Bahra 0bbb6f0eff ck_pr: Fix typo in preprocessor usage.
11 years ago
Samy Al Bahra e57bfd5865 spinlock: Migrate to acquire / release interface.
11 years ago
Samy Al Bahra 661f3948ed ck_pr: Add acquire and release fences.
11 years ago
Samy Al Bahra 057f719796 ck_ring: Add type-specialized ring.
11 years ago