Commit Graph

668 Commits (master)

Author SHA1 Message Date
Alexey Kopytov 5f1be5dc83 AArch64 LSE support.
8 years ago
Olivier Houchard dae84bac06 ck_pr/aarch64: style.
8 years ago
Olivier Houchard 4425c94ef7 ck_pr/aarch64: Don't forget the "cc" and "memory" clobbers.
8 years ago
Olivier Houchard 02af290b85 ck_pr: Add an option to disable any double function
8 years ago
Olivier Houchard 2868848a2f ck_pr/ppc: Get the right prototype for ck_pr_cas_ptr_value().
8 years ago
Olivier Houchard 5ae12a19d0 gcc/ck_pr: Try to make sure the compiler isn't unhappy about constness.
8 years ago
Olivier Houchard 1c9257af77 ck_pr: missed a few occurrences of stdbool.h that should be ck_stdbool.h.
8 years ago
Olivier Houchard 2159452170 ck_pr/aarch64: Use the right asm constraints.
8 years ago
Olivier Houchard 7c456ca778 ck_pr/aarch64: That should be CK_PR_AARCH64_H, not CK_PR_ARM_H
8 years ago
Olivier Houchard 92aabcade0 ck_pr: First cut at an aarch64 native implementation.
8 years ago
Olivier Houchard 9c072391cf ck_pr/arm : We never defined CK_PR_CAS_S, so there's no need to undef it.
8 years ago
alfredo bc594bf809 use __restrict__ under GCC to support both C++ and C
8 years ago
铁哥 4f01918cbb Update ck_ring.h
8 years ago
Roman Lebedev 1a10ab230e ck_queue: update doc: no tail queue, add STAILQ description
9 years ago
Samy Al Bahra 2686ca0223 ck_epoch: Bug fixes and performance improvements.
9 years ago
Samy Al Bahra 80a9b6ff9c epoch: Fix fat-finger that breaks epoch sections.
9 years ago
Samy Al Bahra ff23c2d3fd ck_bitmap: Use CK_BITMAP_OFFSET.
9 years ago
Samy Al Bahra 7646fb624b ck_pr: fence_memory now has strict semantics on TSO.
9 years ago
Samy Al Bahra 9893f12bcf ck_ht: ck_hm not making it to next release, remove warning.
9 years ago
Samy Al Bahra 2e75aefc4a ck_epoch: Allow for forward progress in concurrent epoch sections.
9 years ago
Samy Al Bahra 0d6d384f3f ck_epoch: Cache associated epoch state machine in record.
9 years ago
Paul Khuong f1302c4920 ck_ring: explicit casts to clarify the semantics of generic (pointer) dequeuing
9 years ago
Samy Al Bahra 52f42c4392 ck_pr: Add ck_pr_fence_acqrel.
9 years ago
Olivier Houchard 27fb1bc00f ck: Reimplement a few libc headers, to make CK build when compiling in the
9 years ago
Samy Al Bahra 4677de8473 ck_ring: [whitespace] Add comment to PROTOTYPE family.
9 years ago
Samy Al Bahra fee4e7187b ck_ring: Clean-up internal implementations.
9 years ago
Samy Al Bahra 414ba224ca ck_cc: Add FORCE_INLINE attribute and remove stale comments.
9 years ago
Samy Al Bahra cc600e7d4f ck_ring: Add MPMC and MPSC variants.
9 years ago
Samy Al Bahra e88c91cdbd ck_elide: Use CK_CC_INLINE instead of inline.
9 years ago
Olivier Houchard 37d94f4f4e ck_pr/arm : Add load, store and CAS for double.
9 years ago
Michael Haberler 118cc8eae8 configure: detect git SHA, export as string CK_GIT_SHA in ck_md.h
9 years ago
Michael Haberler ce7d26aad4 ck_mg.h: provide printable version tag as CK_VERSION
9 years ago
Olivier Houchard c0c0b19716 configure: Add --platform and --use-cc-builtins
9 years ago
Michael Haberler abc8e871af arm/c++: cast arguments using CK_CPP_CAST
9 years ago
Michael Haberler 9911e46c7d x86_64/c++: cast arguments using CK_CPP_CAST
9 years ago
Michael Haberler a9005e55f1 c++: introduce CK_CPP_CAST to static_cast arguments
9 years ago
Olivier Houchard d2ee99b7f4 ck_pr/arm : Tell the compiler to which "1" he should jump to.
9 years ago
Olivier Houchard 576e65fc74 ck_ht: Fallback to use 32bits values when 64bits load/store isn't supported.
9 years ago
Samy Al Bahra f6f02e8585 Merge pull request #54 from mhaberler/limits
9 years ago
Samy Al Bahra 35f9ff1ede Merge pull request #53 from mhaberler/typeof
9 years ago
Samy Al Bahra b039de2f2f ck_cc: Add parenthesis to make default easier.
9 years ago
Michael Haberler 383eb139ff ck_limits.h: assure UINT*_MAX ff are available in-kernel
9 years ago
Michael Haberler ac1c170b29 CK_PR_ACCESS: use __typeof__ instead of typeof
9 years ago
Olivier Houchard 1c3501a524 ck_pr/arm : Don't try to build the 64bits version of CAS for armv6 either.
9 years ago
Olivier Houchard 005c06f9e2 ck_pr/arm: There's no need to force the use of r4, r5 and r6 anymore, this should fix issue #50
9 years ago
Olivier Houchard b002ed5f11 ck_pr/arm: Don't use ldrexd/strexd if we're building for armv6.
9 years ago
Olivier Houchard b202a8224a ck_pr/arm: Rename ck_pr_[load|store]_64 to ck_pr_md_[load|store]_64, as it should have been done.
9 years ago
Emilio G. Cota 3f48bc39fb ck_sequence: relax sequence increment from atomic to regular store
10 years ago
Samy Al Bahra 3971541783 ppc: lwsync is the right thing for WB-memory.
10 years ago
Samy Al Bahra 41c1080f43 ck_bytelock: Fall-back to store_8 if FAS is unavailable.
10 years ago
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