Samy Al Bahra
3cf265cba0
all: Strip trailing whitespaces.
13 years ago
Samy Al Bahra
7d3464bd86
Merge pull request #3 from abelmathew/master
...
Found a nasty bug when I was testing ck_bag with segment precomputation.
13 years ago
Abel Mathew
854ede8cfe
ck_bag: Fix overallocation bug.
...
Initialize bag->n_blocks to fix overallocation bug
during initial ck_bag_put_spmc.
13 years ago
Samy Al Bahra
b5334dc32b
build: Bump internal release number.
13 years ago
Samy Al Bahra
4251e6aa56
ck_pr: Update PPC32 header guard to be consistent.
13 years ago
Samy Al Bahra
70edc1f6cb
ck_pr: Merge Joao's PPC32 support with some modifications.
...
Add PPC32 build file. Add support in configure script.
13 years ago
Samy Al Bahra
334ba2463f
Merge remote-tracking branch 'remotes/jcfernandes/powerpc'
13 years ago
Samy Al Bahra
5409d51d4a
doc/ck_ht: Remove extraneous .El in ck_ht_remove_spmc.
13 years ago
Samy Al Bahra
3c791bf18e
doc/ck_bitmap: Add actual manual page for ck_bitmap_buffer.
13 years ago
Samy Al Bahra
7dc73ada6d
doc/ck_bitmap: Add ck_bitmap_buffer manual page.
13 years ago
Samy Al Bahra
1f1f0d834f
doc/ck_bitmap: Add ck_bitmap_bits manual page.
13 years ago
Samy Al Bahra
8d569d6d8d
doc/ck_bitmap: Add ck_bitmap_clear manual page.
13 years ago
Samy Al Bahra
31a87deccd
doc/ck_bitmap: Add ck_bitmap_size manual page.
13 years ago
Samy Al Bahra
8976b8db56
doc/ck_bitmap: Fix grammatical error in ck_bitmap_base.
13 years ago
Samy Al Bahra
64a134b55f
doc/ck_bitmap: Add ck_bitmap_base manual page.
13 years ago
Samy Al Bahra
599a85f0c3
ck_bitmap: Rename CK_BITMAP_TYPE to CK_BITMAP_WORD.
13 years ago
Samy Al Bahra
562a9a7b79
doc/ck_bitmap: Add ck_bitmap_test manual page.
13 years ago
Samy Al Bahra
df6ac15d96
doc/ck_bitmap: Add ck_bitmap_reset_mpmc manual page.
13 years ago
Samy Al Bahra
2f06ecaaa7
doc/ck_bitmap: Add ck_bitmap_set_mpmc manual page.
13 years ago
Samy Al Bahra
bf364ef36a
doc/ck_bitmap: Add ck_bitmap_init manual page.
13 years ago
Samy Al Bahra
d080df2e8c
ck_bitmap: Strict aliasing fixes for older versions of GCC.
13 years ago
Joao Fernandes
64b7f83417
Added support for 32-bit PowerPC CPUs. Untested!
13 years ago
Samy Al Bahra
ac9e8f942d
ck_bitmap: Inline initializer.
13 years ago
Samy Al Bahra
95fb141f0c
Merge pull request #2 from abelmathew/master
...
ck_bag: rename n_entries_bag to n_cachelines, ck_bag_init. Add validation for bag->info.max on x86_64
13 years ago
Abel Mathew
3f99a7c4f4
ck_bag: rename n_entries_bag to n_cachelines, ck_bag_init. Add validation for bag->info.max on x86_64
13 years ago
Samy Al Bahra
1ca904d5a8
ck_bitmap: Absolutely no need to memoize n_buckets.
13 years ago
Samy Al Bahra
10d86b6424
ck_bitmap: Overhaul API for improved support of static instances.
...
This changes comes at the cost of clear linearizability, which
is suitable for my use-case. Users can easily implement linereazability
through an additional level of indirection to the ck_bitmap object.
13 years ago
Samy Al Bahra
24f0826f3f
doc/ck_ht: set_key_direct -> key_set_direct
...
Pointed out by Abel P. Mathew <abelpmathew@...>.
13 years ago
Samy Al Bahra
1d02940c83
ck_ht: Fix ck_ht_entry_key for some non-x86_64 platforms.
...
Previously we would clear top 16 bits of pointer, fix this behavior
to only apply this behavior on x86_64.
13 years ago
Samy Al Bahra
9d4541d703
ck_bitmap: Fix ck_bitmap_init.
...
Refs #85
13 years ago
Samy Al Bahra
773ceb8257
regressions: Add necessary header file for sleep.
13 years ago
Samy Al Bahra
005fe597a4
build: Add additional header files to configure script.
13 years ago
Samy Al Bahra
e88e17d27b
ck_bitmap: Add ck_bitmap_buffer function.
...
Returns a pointer to the buffer used to initialize
the bitmap.
13 years ago
Samy Al Bahra
e4bbd2d2e4
build: Bump version for next silent release.
13 years ago
Samy Al Bahra
ab73676ee4
ck_bitmap: Lock-free MPMC contiguous bitset implementation.
...
Rather trivial data structure but driven by sufficient user-demand.
Manual pages to come.
13 years ago
Samy Al Bahra
5b4ea9cfe5
ck_bag: Update include-guard comment.
13 years ago
Abel Mathew
eaa8ad1d4d
ck_bag: Various bug fixes.
...
Add necessary load fence to iterator.
Initialize iterator appropriately for empty bags.
Improve unit test.
Fix bag linkage bug for non x86_64 targets.
Fix block accounting on removal.
13 years ago
Samy Al Bahra
f1293b379b
ck_bag: Insert into empty list for non-x86_64.
13 years ago
Samy Al Bahra
2111824c9e
regressions: Add ck_bag regressions.
13 years ago
Samy Al Bahra
28eadc7b56
ck_bag: We use the next pointer.
13 years ago
Samy Al Bahra
2a3d5a691e
ck_bag: Additional portability fixes.
13 years ago
Samy Al Bahra
617be15523
ck_bag: Fix build error, other non-x86_64 issues.
13 years ago
Samy Al Bahra
a4463510e8
ck_bag: Fix for non-x86_64 targets.
...
n_entries is currently of uintptr_t type, not unsigned int.
13 years ago
Samy Al Bahra
07b41324d8
ck_bag: Add to built library.
13 years ago
Samy Al Bahra
aa9ec2128c
ck_bag: Add necessary ck_stdint include.
13 years ago
Samy Al Bahra
efe592cafa
ck_bag: Operating on pointer to NULL is undefined behavior.
...
Remove NULL check from ck_bag_remove_spmc.
13 years ago
Samy Al Bahra
a6dce3abff
regressions/ck_bag: Use epoch reclamation, allow for user-defined block size.
13 years ago
Samy Al Bahra
a80ade3eef
ck_bag: Support user-defined block size (in units of cache lines).
13 years ago
Samy Al Bahra
85c37ef251
ck_bag: Fix bug in ck_ht_iterator_init.
...
It is possible for the bag associated with the iterator to be empty.
13 years ago
Samy Al Bahra
656b06582b
ck_bag: Explicit load fence after acquiring n_entries snapshot.
13 years ago