Samy Al Bahra
a8b9f7f411
regressions: add ck_pr_fence for basic validation of fence definitions.
7 years ago
Samy Al Bahra
3b86f1a4fd
[whitespace] regressions: Fix repeated typo in license header.
7 years ago
Riley Berton
0d1e86d18e
ck_hs: add ck_hs_next_spmc
...
Memoize the map into ck_hs_iterator_t to make iteration more safe in the face of growth or shrinkage of the map. Tests for same.
Work from Riley Berton.
7 years ago
Samy Al Bahra
362f58e6b6
regressions: update ck_epoch usage.
8 years ago
Samy Al Bahra
db4554c686
regressions: update ck_epoch usage.
8 years ago
Samy Al Bahra
ffe9cbf9ca
ck_epoch: ck_epoch_end returns true if forward progress has been made.
8 years ago
Samy Al Bahra
8391338299
regressions/ck_epoch: fix up message.
8 years ago
Samy Al Bahra
cce21287fe
ck_epoch_call: basic coverage for call_strict.
8 years ago
Samy Al Bahra
8580ccc580
ck_epoch: introduce synchronize_wait that allows blocking synchronize operation.
8 years ago
Samy Al Bahra
8c12481577
regressions/ck_epoch: n_dispatch is now unsigned int.
8 years ago
Samy Al Bahra
77fc933229
regressions/epoch/torture: include synchronize latency.
8 years ago
Samy Al Bahra
24d26965d1
regressions/ck_epoch_section_2: Force exit after timer.
8 years ago
Alexey Kopytov
696ae6e995
Add benchmarks for ck_pr_add_64(), ck_pr_faa_64() and ck_pr_neg_64().
8 years ago
Alexey Kopytov
ab8f2b0344
Add AArch64 timer support to rdtsc().
...
Add support for RDTSC-like timer on AArch64. This is only used by the
internal regression/benchmark test suite.
8 years ago
Olivier Houchard
1b461ca57a
regressions/ck_spinlock: Add ck_hclh to the check target.
8 years ago
Olivier Houchard
2552550256
regressions/ck_hp: Make sure stores are visible before attempting CAS.
8 years ago
Roman Lebedev
b6d82a481a
Ht: regressions: validate serial: check that our hash function was actually called.
...
Of course, assumes that there won't be an overflow caueing
it to be exactly 0 in the end...
The test fails.
9 years ago
Samy Al Bahra
03bd7a4158
regressions/ck_epoch: Change formatting.
9 years ago
Samy Al Bahra
f97d3da5c3
regressions/ck_sequence: Use flag rather than counter value for first set.
...
Prevents resetting exit barrier on overflow. Otherwise, hangs occur
on higher-performing systems.
9 years ago
Samy Al Bahra
ece3a24a4f
regressions/ck_epoch: Switch to heap allocated records for torture test.
9 years ago
Samy Al Bahra
5b64342668
regressions/ck_epoch: Remove counter dependencies from torture parity test.
9 years ago
Samy Al Bahra
f22f921576
regressions/ck_epoch_section_2: Switch to heap allocated records.
9 years ago
Samy Al Bahra
5999d8a243
regressions/ck_epoch: Shorten stack walk length for ck_epoch_synchronize.
...
This test was taking excessively long (read: hours) on some targets.
9 years ago
Samy Al Bahra
3a3562b96c
regressions/epoch: Add new torture test.
...
Verified with fault injection into ck_epoch_synchronize.
9 years ago
Samy Al Bahra
275908d246
regressions: Add ck_test convenience macro.
9 years ago
Samy Al Bahra
c845efcb0a
regressions/epoch: Various clean-up including fixes for Windows.
9 years ago
Samy Al Bahra
968b56598b
regressions/epoch: Additional coverage for epoch sections.
9 years ago
Samy Al Bahra
2e75aefc4a
ck_epoch: Allow for forward progress in concurrent epoch sections.
...
This work is derived directly from the work of John Esmet and Paul
Khuong ({jesmet,pkhuong}@appnexus.com) and PR34.
9 years ago
Samy Al Bahra
0d6d384f3f
ck_epoch: Cache associated epoch state machine in record.
...
This ends up removing arguments (and vector for error) for several
functions on the common path of ck_epoch.
9 years ago
Samy Al Bahra
ea9658d8d8
regressions: Switch to volatile load on ready flag.
9 years ago
Samy Al Bahra
cc600e7d4f
ck_ring: Add MPMC and MPSC variants.
9 years ago
Michael Haberler
7d1e3a6723
regressions/ck_cohort: make it pass with CORES=1
9 years ago
Samy Al Bahra
dfd8b2fb96
Merge branch 'master' of github.com:concurrencykit/ck
9 years ago
Samy Al Bahra
da4b956499
regressions/ck_ht: Remove dependency on ck_pr_add_64.
9 years ago
Olivier Houchard
576e65fc74
ck_ht: Fallback to use 32bits values when 64bits load/store isn't supported.
...
That way we can use ck_ht on i386.
9 years ago
Samy Al Bahra
360bee1013
regressions/ck_pr/fp: Remove redundant load.
10 years ago
Samy Al Bahra
93c3d452a2
regressions/ck_pr: Add fence_lock coverage to fast-path test.
10 years ago
Samy Al Bahra
b46703ec5c
regressions: Add stupid fast-path benchmark for fences.
...
This is far from comprehensive but needed for some upcoming
tests.
10 years ago
Samy Al Bahra
7ffe069973
regressions/spinlock: Do not rely on RMW for counter update.
...
This makes it more likely to trigger load-store/store-load re-ordering
across critical sections.
10 years ago
Samy Al Bahra
6e49af143f
regressions/ck_hp: Switch to using ck_hp_set_fence.
10 years ago
Samy Al Bahra
0dfd145aa6
whitespace: Update Copyright messages.
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
2030767b21
regressions/ck_rhs: -Wcast-qual clean-up.
10 years ago
Samy Al Bahra
7d70240449
general: First pass cast qualifier warning fixes.
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
0422a23f62
regressions: Test ck_rhs_apply.
10 years ago
James Cowgill
b6bd963a7e
regressions/ck_spinlock: add ck_hclh to clean target
10 years ago