Commit Graph

30 Commits (awsm)

Author SHA1 Message Date
Olivier Houchard 27fb1bc00f ck: Reimplement a few libc headers, to make CK build when compiling in the
9 years ago
Samy Al Bahra e693cb9afe ck_*lock: Migrate all locking primitives to lock / unlock.
10 years ago
Samy Al Bahra 554e2f0874 whitespace: Strictly conform to C namespacing rules.
10 years ago
Samy Al Bahra 8b20998ecd whitespace/ck_swlock: Fix typo in comment.
10 years ago
Samy Al Bahra d6ba2a6273 whitespace: Sweeping whitespace changes.
10 years ago
Samy Al Bahra 6b2f5130f7 ck_swlock: Whitespace changes.
11 years ago
Jaidev Sridhar 11f79b64f7 ck_swlock: cleanup
11 years ago
Jaidev Sridhar d95c609090 Merge remote-tracking branch 'upstream/swlock' into ck_swlock
11 years ago
Jaidev Sridhar b70a5479ca ck_swlock: snapshot
11 years ago
Samy Al Bahra 217f7a2f32 ck_swlock: Load spin on write bit.
11 years ago
Samy Al Bahra 4d7f4fff6d ck_swlock: Fix latch operation.
11 years ago
Samy Al Bahra bbad068f5a ck_swlock: Make latch operation write-biased.
11 years ago
Samy Al Bahra e2f7df0f1d ck_swlock: Various improvements.
11 years ago
Jaidev Sridhar c246865ce7 ck_swlock: Removed comment
11 years ago
Jaidev Sridhar 4471ea2df8 ck_swlock: Acquire semantics
11 years ago
Jaidev Sridhar e6feed1f89 ck_swlock: Rename lock field
11 years ago
Jaidev Sridhar 0f44d50e33 ck_swlock: Use single word for lock bits
11 years ago
Jaidev Sridhar 15a0485c01 ck_swlock: make ck_swlock_recursive_write_unlatch() wait-free.
11 years ago
Samy Al Bahra ca70ce684c ck_swlock: Unlatch operation should be wait-free.
11 years ago
Jaidev Sridhar 27a79623a6 ck_swlock: Need to lock cache-line on write lock
11 years ago
Jaidev Sridhar 0ee31c1557 ck_swlock: Need barrier
11 years ago
Jaidev Sridhar bf8779ab13 ck_swlock: Decrement n_readers in TATAS style loop.
11 years ago
Jaidev Sridhar 8646990847 Merge remote-tracking branch 'jsridhar-dev/ck_swlock' into ck_swlock
11 years ago
Jaidev Sridhar 1f03809acb ck_swlock: We shouldn't decrement n_readers when
11 years ago
Samy Al Bahra bfc9837d4f ck_swlock: Whitespace change.
11 years ago
Samy Al Bahra 63b79c7b1e ck_swlock: Fix Copyright ordering.
11 years ago
Samy Al Bahra 6fe2bba224 ck_swlock: Fix-up TATAS loop.
11 years ago
Samy Al Bahra a1daff18ea ck_swlock: Switch to TATAS style loop for latch operations.
11 years ago
Samy Al Bahra 82f33b3fe9 ck_swlock: First round fixes for ck_swlock.
11 years ago
Jaidev Sridhar 9732e2bdb3 ck_swlock: A single writer rwlock.
11 years ago