Samy Al Bahra
1474471445
ck_pr: Add basic ck_pr_rfo interface.
...
This leverages prefetchw that is now finally available on both AMD and Intel
processors. Additional ports coming.
10 years ago
Samy Al Bahra
dc8f36c96c
whitespace/spinlock: Remove extraneous end of file lines.
10 years ago
Samy Al Bahra
48b407f396
ck_ht: Several critical bug fixes (impacts TSO).
...
The tombstone and version counter update invariant was not respected
in all necessary places.
- If a concurrent load operation is preempted after observing
the version counter and key field of a slot, then the slot is moved
and re-used by another key-value pair, the load operation would
observe an inconsistent pair without the relevant version counter
update.
- On RMO architectures, a store fence was missing on the delete path
(tombstone placement must always be followed by version counter
update).
10 years ago
Samy Al Bahra
8b20998ecd
whitespace/ck_swlock: Fix typo in comment.
10 years ago
Samy Al Bahra
b1acbf1b0a
ck_ht: Set floor to cacheline entries.
10 years ago
Samy Al Bahra
c72686f06b
ck_rhs: Set size floor to cacheline entries.
10 years ago
Samy Al Bahra
f9a127fffb
Merge branch 'master' of https://github.com/concurrencykit/ck
10 years ago
Samy Al Bahra
db58fe870a
ck_hs: Set floor to cache line entries.
10 years ago
Samy Al Bahra
d18bcc3bae
Merge pull request #27 from PSUdaemon/ck_ht_32
...
ck_ht: Fix build warnings on 32-bit platforms.
10 years ago
Phil Sorber
887f4a510d
ck_ht: Fix build warnings on 32bit platforms.
10 years ago
Samy Al Bahra
e5711767d5
build: Bump version for next release.
10 years ago
Samy Al Bahra
f755d20a2c
Merge branch 'master' of https://github.com/concurrencykit/ck
10 years ago
Samy Al Bahra
22e00af6f5
ck_hs: Drop legacy atomic operations.
10 years ago
Samy Al Bahra
b7817a3f96
git: .gitignore clean-up.
...
Add additional intermediate files and remove duplicate entries.
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
ea567fc58a
regressions/ck_epoch: Additional -Wcast-qual clean-up.
10 years ago
Samy Al Bahra
959e5fd744
regressions/ck_epoch: -Wcast-qual clean-up.
10 years ago
Samy Al Bahra
9d59c3d004
x86: -Wcast-qual clean-up.
10 years ago
Samy Al Bahra
2030767b21
regressions/ck_rhs: -Wcast-qual clean-up.
10 years ago
Samy Al Bahra
4224f53159
ck_cc: -Wcast-qual clean-up.
10 years ago
Samy Al Bahra
a8a4903397
Merge pull request #26 from postwait/illumos-32bit
...
build: Support 32bit builds on Illumos/Solaris via ISA=i386
10 years ago
Theo Schlossnagle
7996e04560
Support 32bit builds on Illumos/Solaris via ISA=i386
10 years ago
Samy Al Bahra
7d70240449
general: First pass cast qualifier warning fixes.
10 years ago
Olivier Houchard
d2c26d60f3
doc: Forgot to add CK_RHS_HASH
10 years ago
Olivier Houchard
677a901ded
ck_rhs: Realign comments correctly.
10 years ago
Samy Al Bahra
1df6df09e8
Merge branch 'master' of https://github.com/concurrencykit/ck
10 years ago
Samy Al Bahra
5c298bd0e5
build: Use _DEFAULT_SOURCE.
...
_BSD_SOURCE is now deprecated in favor of _DEFAULT_SOURCE.
Use _DEFAULT_SOURCE, but retain _BSD_SOURCE for backwards
compatibility.
Thanks to Phil Sorber (PSUdaemon) for patch and investigation.
10 years ago
Samy Al Bahra
508e92d2fc
ck_backoff: Remove usage of volatile.
...
This avoids memory traffic in busy-wait loops. Been on TODO list for a while,
may as well bite the bullet. No regressions introduced in recent versions of
GCC, clang and ICC.
10 years ago
Olivier Houchard
70e59219bc
ck_rhs: Use CK_RHS_MAX_RH instead of hardcoding 512.
10 years ago
Olivier Houchard
ea16b65225
doc: Document ck_rhs.
10 years ago
Samy Al Bahra
1a84d49c3c
build: Bump version for next release.
10 years ago
Samy Al Bahra
428401a1bd
build: Do not conditionally set variables.
...
make implementations should be overriding variable values.
This change was made to support ATS build environment, which
fails to override variable values.
10 years ago
Samy Al Bahra
f7ccd3dbb2
build: Default to 64-bit on 32-bit/64-bit userspace.
10 years ago
Samy Al Bahra
8937ec84c3
regressions: Use correct regression for ck_ring_spmc_template.
...
We were previously building the wrong target. This was found out due
to Phil Sorber pointing out that _template.c would have had compilation issues.
10 years ago
Samy Al Bahra
6ecd734757
ck_epoch: Remove unnecessary keyword.
10 years ago
Samy Al Bahra
b3f374cb55
ck_epoch: Allow for deferral from callbacks.
...
This makes things much easier in cases where deferral is mixed
with other reclamation mechanisms such as reference counters.
10 years ago
Olivier Houchard
0f7827f479
ck_pr: Prettify the arm bits.
...
gcc is smart enough to use an even register for 64bits operations, and provide
a way to access the first and the second words, so use that instead of
hardcoding registers.
10 years ago
Olivier Houchard
0422a23f62
regressions: Test ck_rhs_apply.
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
185e1925eb
Merge pull request #19 from jcowgill/clean-ck_hclh
...
regressions/ck_spinlock: add ck_hclh to clean target
10 years ago
James Cowgill
b6bd963a7e
regressions/ck_spinlock: add ck_hclh to clean target
10 years ago
Samy Al Bahra
bfad9c5097
doc: Update ck_sequence manual page.
10 years ago
Samy Al Bahra
e39223da44
ck_sequence: Constify read-only operations.
10 years ago
Samy Al Bahra
384e8048eb
whitespace: Remove extraneous lines.
10 years ago
Samy Al Bahra
5465f7325f
build: Bump version for next release.
10 years ago
Samy Al Bahra
d8f8b4a6c6
regressions: Deletion coverage for ck_hs_apply.
10 years ago
Samy Al Bahra
e0f56ea113
whitespace: Whitespace clean-up of manual pages.
10 years ago
Samy Al Bahra
80a556e4fc
doc: Add ck_hs_apply manual page.
10 years ago