Samy Al Bahra
84f7136cbb
build: Add deletion of ck_md.h to distribution target.
13 years ago
Samy Al Bahra
f38cc85ac9
build: Add --enable-pointer-packing option.
...
Pointer packing is now disabled by default for x86_64 targets.
Jeffrey M. Birnbaum <jmbny.@...> told me that according to his
discussions with Intel engineers, Haswell will be bumping up
VMA bits to 56 bits from 48.
If you control the hardware that CK is deployed to and don't
envision a migration to 48-bits anytime soon, then you may
enable old behavior (resulting in significant memory savings
for some data structures, namely ck_ht) by passing the
--enable-pointer-packing flag to configure.
13 years ago
Samy Al Bahra
2b2e44203b
Merge pull request #5 from abelmathew/master
...
ck_bag: Merge from abelmathew/master.
13 years ago
Abel Mathew
6a6f1d53c8
ck_bag: Validate block_size > block_overhead during ck_bag_init.
...
Check ck_bag_init return value in unit test.
13 years ago
Abel Mathew
2e921847ab
ck_bag: Free unoccupied blocks in ck_bag_destroy.
13 years ago
Abel Mathew
bbc6f584fd
ck_bag: Various Bug Fixes and Cleanup.
...
Migrate available block list to CK_LIST.
New blocks are only allocated when the available list is exhausted.
Remove bag->avail_tail.
Print out number of writer iterations for unit test.
Lengthen duration of unit test.
13 years ago
Samy Al Bahra
2136067723
Merge branch 'master' of git.concurrencykit.org:ck
13 years ago
Samy Al Bahra
8a3c4786a8
ck_bag: Initialize n_entries.
13 years ago
Samy Al Bahra
08fc765a17
LICENSE: Update Copyright years.
13 years ago
Samy Al Bahra
7b7f9cde52
Merge pull request #4 from philips/license-file-add
...
LICENSE: initial commit
13 years ago
Brandon Philips
edd75b9a87
LICENSE: initial commit
...
Add a license file just to make it easier for discovery.
13 years ago
Samy Al Bahra
fdce6fcc30
ck_bitmap: Fix ck_bitmap_next for 32-bit targets.
...
The nubmer of bits in a block was previously hard-coded.
13 years ago
Samy Al Bahra
0aa2c20cce
build: Bump minor version for release.
13 years ago
Samy Al Bahra
099a6c7b04
ck_bitmap: Add bitmap iterator functions.
...
These can do with some optimization. A majority of this
work is based off an earlier patch submitted by
Shreyas Prasad <sprasad@appne....>.
13 years ago
Samy Al Bahra
9bc4ede14e
ck_pr/x86: Re-order includes.
13 years ago
Samy Al Bahra
5cc3e6f1fc
ck_pr: Re-order includes.
13 years ago
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