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
Samy Al Bahra
744b525528
ck_hs: Account for deletions in apply accounting.
10 years ago
Samy Al Bahra
d6ba2a6273
whitespace: Sweeping whitespace changes.
...
Removing trailing whitespaces and newlines.
10 years ago
Samy Al Bahra
29db80432f
ck_hs: Remove redundant whitespace (whitespace).
10 years ago
Samy Al Bahra
d167c417a4
ck_hs: Merge post-insertion logic into one function.
10 years ago
Samy Al Bahra
92645aeb47
regressions/ck_hs: Add ck_hs_apply benchmark.
...
Preliminary results show 15%-32% latency improvements from
large to small hash tables.
10 years ago
Samy Al Bahra
5201dc3d45
regressions/ck_hs: Make set_replace in serial benchmark paranoid.
10 years ago
Samy Al Bahra
01aa93f05a
regressions/ck_hs: Additional ck_hs_apply coverage.
10 years ago
Samy Al Bahra
bc0618e1b4
ck_hs: Add ck_hs_apply function for in-band mutation.
...
Allows for the application of a user-specified function to avoid
re-probe for get conditional put / delete and in-band mutation
use-cases.
10 years ago
Samy Al Bahra
67aac7f865
Merge branch 'master' of https://github.com/concurrencykit/ck
10 years ago
Samy Al Bahra
40c7a1f24c
ck_bitmap: Wrap long lines (style).
10 years ago
Samy Al Bahra
4e8cebb297
Merge pull request #18 from davidjoseph/master
...
doc: Add man page for ck_bitmap_bts.
10 years ago
David Joseph
1492590835
doc: Add man page for ck_bitmap_bts.
10 years ago
David Joseph
1d7057eb58
ck_bitmap: add a ck_bitmap_bts function.
...
Signed-off-by: Samy Al Bahra <sbahra@backtrace.io>
10 years ago
Samy Al Bahra
6c35206e4c
build: Conditionally set CC and MAKE.
10 years ago
Samy Al Bahra
a8556d50ad
build: Append CFLAGS and LDFLAGS.
...
This allows for make variable specifications.
10 years ago
Samy Al Bahra
747779df1b
configure: Allow for multi-option parameters.
10 years ago
Samy Al Bahra
84cd66b2ed
build: ck_rhs was not properly included in Makefile.
10 years ago
Olivier Houchard
20f082797f
ck_rhs: Change a check from == to >=
...
wanted_probe can't ever be > to map->probe_maximum, but static analyzers can't
know this, so consider it a potential bug.
10 years ago
Samy Al Bahra
c4e4702cbb
Merge pull request #16 from PSUdaemon/mimic_automake
...
Add workarounds to configure script to mimic automake more
10 years ago
Phil Sorber
4af1985f5f
Add workarounds to configure script to mimic automake more
10 years ago
Samy Al Bahra
3614e8a63f
update
10 years ago
Samy Al Bahra
7fc90ebf25
regressions/ck_stack: Align stack for cmpxchg16b.
10 years ago
Samy Al Bahra
0411a0dce5
common: Get rid of EBX restoration for x86-64.
...
It is not a PIC register, break out x86-specific PIC support.
This would break x86-64 for less forgiving assemblers that
(correctly) do not accept pushl/popl.
10 years ago
Samy Al Bahra
50195c8c79
Merge pull request #14 from hrw/master
...
Add preliminary AArch64 support
- Need to investigate ck_epoch hang.
10 years ago
Samy Al Bahra
44c7e0a97a
build: Bump minor for release.
10 years ago
Samy Al Bahra
2c21bbd457
Merge pull request #11 from PSUdaemon/add_ppc64le
...
Add support for ppc64le arch
10 years ago
Marcin Juszkiewicz
f2f04412f6
Add AArch64 (64-bit ARM) support
...
Signed-off-by: Marcin Juszkiewicz <mjuszkiewicz@redhat.com>
10 years ago
Marcin Juszkiewicz
de0e582eba
Add ck_pr_fence_acquire/release to generic GCC version
...
Signed-off-by: Marcin Juszkiewicz <mjuszkiewicz@redhat.com>
10 years ago