Commit Graph

49 Commits (8959e94fb6818ac3d651222b85d2184b47b68281)

Author SHA1 Message Date
Samy Al Bahra 554e2f0874 whitespace: Strictly conform to C namespacing rules.
10 years ago
Samy Al Bahra 0dfd145aa6 whitespace: Update Copyright messages.
10 years ago
Samy Al Bahra d6ba2a6273 whitespace: Sweeping whitespace changes.
10 years ago
Samy Al Bahra c197b37df1 legal: Update Copyright statements.
11 years ago
Samy Al Bahra df571ad331 ck_spinlock: Migrate lock implementations to directory.
11 years ago
Samy Al Bahra e6c0ef01a5 ck_spinlock: Revert previous change, do not splice too early.
11 years ago
Samy Al Bahra e8b26ec212 ck_spinlock: Minor readability changes to ck_hclh.
11 years ago
Samy Al Bahra c219593967 ck_spinlock: First round of improvements to ck_hclh.
11 years ago
Samy Al Bahra 0e5ce1aae7 ck_spinlock: Simple whitespace changes (wrap long lines).
11 years ago
Olivier Houchard 0f92cbab08 ck_spinlock: Commit the missing HCLH bits.
11 years ago
Samy Al Bahra 2d4524dd3e ck_spinlock: Retab (whitespace).
12 years ago
Samy Al Bahra 07aab518f6 ck_spinlock: Retab (whitespace).
12 years ago
Samy Al Bahra ce142f17f8 ck_spinlock: Add ck_spinlock_mcs_init operation.
12 years ago
Samy Al Bahra 6bc9f7a485 ck_spinlock: Get rid of MCS context initializers.
12 years ago
Samy Al Bahra ec58f5dcf7 ck_spinlock: Add ck_spinlock_dec_init operation.
12 years ago
Samy Al Bahra 2f52ace54c ck_spinlock: Fix strict aliasing issue in unlock (no-op).
12 years ago
Samy Al Bahra f214d9419e ck_spinlock: Move elision prototype to end of file.
12 years ago
Samy Al Bahra 59a1b53e86 ck_spinlock: Migrate to ck_elide.h.
12 years ago
Samy Al Bahra 0517a51b06 ck_spinlock: Weaken volatile store in clh_lock.
12 years ago
Samy Al Bahra 64b1201dcc ck_spinlock: Acquire semantics for old locked operations.
12 years ago
Samy Al Bahra a51c8c7aa6 ck_spinlock: Add ck_spinlock_clh_locked.
12 years ago
Samy Al Bahra 46d61ccd46 ck_spinlock: Add ck_spinlock_ticket_locked.
12 years ago
Samy Al Bahra 55decd0b38 ck_spinlock: Add ck_spinlock_anderson_locked.
12 years ago
Samy Al Bahra a8a74b9f57 ck_spinlock: Remove erroneous mask usage for non-x86 targets.
12 years ago
Samy Al Bahra 045d0e1053 ck_spinlock: Apply modulo arithmetic to proportional back-off ticket lock.
12 years ago
Samy Al Bahra a5e8d6ad45 ck_spinlock: Only enable trylock for ck_spinlock_ticket on x86*.
12 years ago
Samy Al Bahra 2ba3f59374 ck_spinlock: Migrate MCS to ck_pr_fence_X_Y.
12 years ago
Samy Al Bahra 8540821f3f ck_spinlock: Minor style changes to return statement.
12 years ago
Samy Al Bahra 8face51e0d ck_spinlock: Acquire semantics for anderson spinlock.
12 years ago
Samy Al Bahra d09e48daed ck_spinlock: Only enable trylock path for TSO architectures at the moment.
12 years ago
Samy Al Bahra 27d454248d ck_spinlock: Add ticket lock with trylock operation.
12 years ago
Samy Al Bahra 0598307186 whitespace: Various style changes.
12 years ago
Samy Al Bahra 33a9222923 legal: Update Copyright statements.
12 years ago
Samy Al Bahra 65ebf86799 ck_spinlock: Switch to full semantics across all implementations.
12 years ago
Samy Al Bahra 1d61147c01 ck_spinlock/mcs: Remove unnecessary fences, serialize unload.
12 years ago
Samy Al Bahra 79e336cfbc ck_spinlock: Clarify ticket spinlock code.
12 years ago
Samy Al Bahra 27ed5f78fe ck_spinlock: Remove unnecessary fence in DEC-based spinlock.
12 years ago
Samy Al Bahra a7c4b9df65 ck_spinlock: Adopt RMO for anderson spinlock.
12 years ago
Samy Al Bahra ce4cdd45c8 ck_spinlock: Adopt RMO semantics for CLH.
12 years ago
Samy Al Bahra 3cf265cba0 all: Strip trailing whitespaces.
13 years ago
Samy Al Bahra 706fd07de7 legal: Update Copyright statements.
13 years ago
Samy Al Bahra 1cefea7eb6 ck_spinlock: Provide a default implementation.
13 years ago
Samy Al Bahra 0231b68a8b ck_spinlock: Add ck_spinlock_*_locked.
13 years ago
Samy Al Bahra 4e7c6ee270 Add full barrier for anderson spinlock.
13 years ago
Samy Al Bahra 38c614222a ck_spinlock: Avoid modulus on unlock for power of 2 count.
14 years ago
Samy Al Bahra 492faed9a3 Reformatting changes for my new laptop.
14 years ago
Samy Al Bahra 66ebe1a874 Drop usage of CK_CC_PACKED, prefer natural alignment.
14 years ago
Samy Al Bahra d3a033237a Avoid modulus for wrap-around calculation in ck_anderson.
14 years ago
Samy Al Bahra cbd30b2206 Initial import.
14 years ago