David Joseph
1298a6c335
Add support for MinGW32.
...
This primarily involved changing the configure script and adding
several utility functions to regressions/common.h for unit testing.
Signed-off-by: Samy Al Bahra <sbahra@appnexus.com>
12 years ago
Samy Al Bahra
9152cc7cea
regressions/ck_hp_fifo_donner: This was submitted from a Windows editor.
...
Switch to using UNIX EOL.
12 years ago
Samy Al Bahra
c6ff128510
ck_hs: Move replacement comment to ck_hs_set.
12 years ago
Samy Al Bahra
8bad50240d
ck_hs: Eliminate pointless legacy branch.
12 years ago
Samy Al Bahra
9bc61711d7
git: Ignore additional files.
12 years ago
Joao Fernandes
086ebf7126
ck_pr: moving PPC32 to RMO.
...
Signed-off-by: Joao Fernandes <mail@joaofernandes.eu>
12 years ago
Samy Al Bahra
8c53de1e70
ck_rwlock: Add documentation on visibility semantics.
12 years ago
Samy Al Bahra
1ea5769fd4
ck_rwlock: Improve code legibility.
12 years ago
Samy Al Bahra
334b15e6e0
ck_bytelock: Acquire semantics on read.
12 years ago
Samy Al Bahra
038b3d816d
ck_rwlock: Forgot to add acquire on operation success.
12 years ago
Samy Al Bahra
bdadd7bf6b
whitespace: More style fixes.
12 years ago
Samy Al Bahra
0598307186
whitespace: Various style changes.
12 years ago
Samy Al Bahra
b4e9045c9b
ck_barrier_tournament: Remove old/stale comments.
...
ck_pr_load is unnecessary. It is assumed a strong fence follows
initialization (through thread creation boundary, for example
or explicit IPI).
12 years ago
Samy Al Bahra
7c56d73433
ck_barrier_mcs: Style clean-up.
12 years ago
Samy Al Bahra
507ac1322c
build: Install ck_md.h to correct path.
12 years ago
Samy Al Bahra
75a6372c5f
build: Fix typo.
12 years ago
Samy Al Bahra
dea255ce14
build: Prefer sed over expr for value expansion.
12 years ago
Samy Al Bahra
4182f9df38
build: Re-order BUILD_DIR/SRC_DIR output.
12 years ago
Samy Al Bahra
7b3b7265be
build: Bump version for next release.
12 years ago
Samy Al Bahra
b95cc24293
git: Ignore additional files.
12 years ago
Samy Al Bahra
e937f6176e
build: Add out-of-source archive support.
12 years ago
Samy Al Bahra
1f187594ed
build: Differentiate out-of-source builds for regressions.
12 years ago
Samy Al Bahra
f9a484a10d
build: Disclaimer that regressions are unsupported for out-of-source builds.
12 years ago
Samy Al Bahra
3587d8e51b
build: Remove debug left-over.
12 years ago
Samy Al Bahra
e6e97f3ae5
build: Out-of-source builds for primary CK distribution.
...
Out of source regressions target still needs additional work
(because it's not there).
12 years ago
Samy Al Bahra
1a0b4122ec
ck_hs: Re-use tombstones near load factor.
...
This is similar to the set of changes done to ck_ht.
In addition to this, a bug was caught were minimal
probe sequence was based on last rather than first
tombstone observed.
This hashset will now face long-running bursty
write -> delete -> write workloads much more effectively
and includes significant performance improvements for
delete heavy workloads (at least 2x measured).
12 years ago
Samy Al Bahra
2116dfee3c
ck_ht: Increment n_entries on empty and tombstone insertions.
12 years ago
Samy Al Bahra
9a0d97c6ef
ck_ht: Set previous entry to empty on tombstone insert.
12 years ago
Samy Al Bahra
452cab1ef6
ck_ht: Return snapshot of object IFF we are not at end of probe sequence.
12 years ago
Samy Al Bahra
5a4dc765d8
ck_ht: Remember to set cursor to NULL on probe end.
12 years ago
Samy Al Bahra
1631f2ff84
ck_ht: Enable aggressive re-use of tombstones.
...
Previously, a probe to an empty slot was necessary in order
to avoid hash table growth. As long as a tombstone is available,
re-use it. This prevents excessive growth on workloads involving
long bursts of writes (near 0.5 load factor) followed by long
bursts of deletes.
12 years ago
Samy Al Bahra
3de1f23d74
build: Support all *=* forms.
12 years ago
Samy Al Bahra
e1e6d52e5b
build: Various improvements to configure script.
...
Add explicit detection of clang, prefer SUNCC detection over
GCC and also add support for out of source builds.
12 years ago
Samy Al Bahra
cff7b1b21f
regressions/ck_queue: Add coverage for previous regression.
12 years ago
Abel Mathew
25658c4f5f
ck_queue: Fix CK_LIST_INSERT_HEAD.
...
CK_LIST_INSERT_HEAD was incorrectly managing prev
pointer on insertion to non-empty list. This bug
would cause erroneous behavior on CK_LIST_REMOVE
to non-head elements. Unit test will be updated
for this regression.
12 years ago
Samy Al Bahra
e517126247
regressions: Enable rdtsc for x86-32 targets.
12 years ago
Samy Al Bahra
72855320c4
regressions/ck_hs: Do not rely on ck_pr_add_64 for benchmarks.
...
ck_hs now officially targets the 32-bit ports. No advantage
to using ck_pr_*_64 operations here.
12 years ago
Samy Al Bahra
5d1fff2e06
regressions/ck_pr: Place double tests under feature flag.
12 years ago
Samy Al Bahra
09ed7215a9
legal: Update top-level LICENSE file.
12 years ago
Samy Al Bahra
5a620faf33
legal/doc: Update Copyright statements.
12 years ago
Samy Al Bahra
33a9222923
legal: Update Copyright statements.
12 years ago
Samy Al Bahra
026bdd392f
Merge branch 'master' of git.concurrencykit.org:ck
12 years ago
Samy Al Bahra
d29ac5afdb
ck_bytelock: Fix downgrade path from writer to reader.
...
An off-by-one was introduced in downgrade path from writer.
This can cause deadlock if a writer downgrades from a write lock.
Pointed out by Jeffrey Birnbaum <jmb...@...>.
12 years ago
Samy Al Bahra
ca6637a57c
regressions/ck_pr: Utilize _GNU_SOURCE for ck_pr_store unit test.
12 years ago
Samy Al Bahra
3293cde2d2
regressions/common: Add missing header files in common.h
12 years ago
Samy Al Bahra
cb650246e2
regressions/ck_hp: Do not use empty loop body.
...
Fixes some GCC warnings in 4.7+.
12 years ago
Samy Al Bahra
c4149c72b4
ck_ring: Use regular assignment in type specialized ck_ring initialization.
12 years ago
Samy Al Bahra
0866206c1f
regressions/ck_ring: Add ck_ring_spmc to fast path test.
12 years ago
Samy Al Bahra
fbdc512304
regressions/ck_ring: Use variable for ring size.
12 years ago
Samy Al Bahra
89cb712ffa
ck_ring: Memoize mask across all operations.
12 years ago