Samy Al Bahra
739d603e22
ck_hp: Remove unnecessary header file.
14 years ago
Samy Al Bahra
ba11d1e579
ck_sequence: Match up types. Do not use current.
...
It clashes with current in the Linux kernel.
14 years ago
Samy Al Bahra
db9e07625a
ck_hp_fifo: Don't back-off when forwarding pointer.
14 years ago
Samy Al Bahra
ad4b577200
ck_hp_fifo: Store correct value in pointer.
14 years ago
Samy Al Bahra
25b50ea7e6
Don't use which, it apparently sucks on some platforms.
...
Patch submitted by: Wez Furlong <wez@messagesystems.com>.
14 years ago
Samy Al Bahra
9b20ebfdc6
Add .gitignore file.
...
Submitted by: Wez Furlong <wez@wezfurlong.org>
14 years ago
Samy Al Bahra
8c708da8e8
ck_epoch: Use volatile store when updating local epoch.
14 years ago
Samy Al Bahra
7bd5259505
ck_fifo: MPMC variant will return "garbage" pointer which user can re-use.
14 years ago
Samy Al Bahra
158e1580f5
ck_hp_fifo: Fix broken build.
14 years ago
Samy Al Bahra
5180a6fb36
ck_hp_fifo: Add more fences. Add backoff.
14 years ago
Samy Al Bahra
beafb7d78e
ck_fifo: Add back-off and remove recycle.
...
Recycle will just be a bottleneck. The MPMC interface should instead
return a junk pointer and allow the user to manage its lifetime in
a way they see fit.
14 years ago
Samy Al Bahra
d7d1dfbf50
ck_hp: Remove barrier from set and allow user to batch.
...
A user may want to batch multiple slot updates. Enforcing strong
semantics in set would not allow this.
14 years ago
Samy Al Bahra
dffbb4b48f
ck_hp: Add explicit store fence after setting slot.
14 years ago
Samy Al Bahra
ae1d575b00
regressions/ck_stack: Remove redundant flags.
14 years ago
Samy Al Bahra
34ec9ced0a
regressions: Use -pthread instead of -lpthread.
...
Pointed out by Matt Johnson.
14 years ago
Samy Al Bahra
303c7f01cf
README: Another update to ASCII art.
14 years ago
Samy Al Bahra
2302155613
ck_epoch: Reference Fraser's thesis.
14 years ago
Samy Al Bahra
f22bddddd5
ck_epoch: Place epoch on a separate cache line.
14 years ago
Samy Al Bahra
826d9996ac
ck_epoch: Remove unnecessary header file.
14 years ago
Samy Al Bahra
7b8dfe44be
ck_hp: Rename *subscribe to *register.
14 years ago
Samy Al Bahra
0f46b5907e
ck_epoch: Add validation test to top-level regressions Makefile.
14 years ago
Samy Al Bahra
b123ec2313
ck_epoch: Whitespace changes. Add ck_epoch_recycle.
14 years ago
Samy Al Bahra
875d070814
ck_epoch: Remove debug output, update comments.
14 years ago
Samy Al Bahra
3747da1f2a
ck_hp: Remove redundant expression.
14 years ago
Samy Al Bahra
68f376babf
ck_hp: Explicitly flush stores on initialization.
14 years ago
Samy Al Bahra
ea46592848
Wrap to 80 columns.
14 years ago
Samy Al Bahra
386f3647cb
x86_64: Remove workaround for Opteron errata, other minor clean-up.
...
There is a bug first generation AMD Opteron processors'
with cpuid family 0Fh and models less than 40h when it
comes to read-modify write operations after load/store
sequence. Not worth supporting this processor.
If you are on this processor, you can find more information
at: http://bugzilla.kernel.org/show_bug.cgi?id=11305#c2
14 years ago
Samy Al Bahra
fa2a5aab97
ck_barrier: Update throughput benchmark to correctly use ck_barrier_centralized.
14 years ago
Samy Al Bahra
b882517d5e
PPC64: Complete port, add binary write-only operations.
14 years ago
Samy Al Bahra
fb25458121
ck_barrier: Clean up tournament barriers.
14 years ago
Samy Al Bahra
8b4f72057c
ck_barrier: First round audit, tournament barriers next.
...
The barriers have been restructured into individual file
per implementation. Some micro-optimizations were implemented
for some barriers (caching common computations in the barrier).
State subsription is now explicit with the TID counter allocated
on a per-barrier basis.
Tournament barriers remaining and then another round will be done
for correctness and algorithmic improvements.
14 years ago
Samy Al Bahra
b0acd3439b
ck_barrier: Trivial whitespace change to test cronjob.
14 years ago
Samy Al Bahra
10e9658c0f
Merge branch 'master' of ssh://git.repnop.org/public/ck
14 years ago
Samy Al Bahra
9388c5439a
PPC64: Add build file.
14 years ago
David Joseph
f475d2e7ab
Commented combining, dissemination, tournament and mcs barriers.
14 years ago
Samy Al Bahra
25f1fde7fa
PPC64: Add fetch-and-add.
14 years ago
Samy Al Bahra
f48a0c2480
PPC64: Add unary operations.
14 years ago
Samy Al Bahra
cf4ee8c7a4
Merge branch 'master' of ssh://git.repnop.org/public/ck
14 years ago
Samy Al Bahra
5f2f69eebb
Work-around strict aliasing issue.
14 years ago
David Joseph
dff69e639d
Merge branch 'master' of ssh://git.repnop.org/public/ck
14 years ago
David Joseph
64f6702a4c
Implemented tournament and mcs barriers.
...
These are the tournament and mcs barriers from "Algorithms for Scalable
Synchronization on Shared-Memory Multiprocessors." Validation tests have
also been added for these barriers to regressions/ck_barrier/validate.
14 years ago
Samy Al Bahra
24abb2a3ac
Merge branch 'master' of ssh://git.repnop.org/public/ck
14 years ago
Samy Al Bahra
90fee0d839
PPC64: Import minimal PPC64 port.
...
Must implement templates now for phi in LL-phi-SC
templates to allow for lower latency fetch-and-phi
operations.
14 years ago
Samy Al Bahra
a29a1c2a8c
sparcv9: Whitespace change.
14 years ago
Samy Al Bahra
133e936744
sparcv9: Make use of CK_PR_FENCE macro.
14 years ago
Samy Al Bahra
e1d33c467b
ck_pr: Fix some strict aliasing issues and fix char neg.
14 years ago
Samy Al Bahra
563e20a990
Minor improvements to dissemination barrier.
14 years ago
David Joseph
480db1321c
Implemented dissemination barriers.
...
Validation (ck_barrier_dissemination.c) is included.
14 years ago
Samy Al Bahra
489bbc058b
Hazard Pointers: Critical fix.
...
Some debug code somehow snuck through. This breaks hazard pointers
behavior if the hazard pointers cache is used.
14 years ago
Devon H. O'Dell
e5a5d0e2b9
x86: Remove invalid comment about fixed bug.
14 years ago