summaryrefslogtreecommitdiff
path: root/kern/spinlock.c
AgeCommit message (Collapse)Author
2017-09-21New build systemRichard Braun
The new build system, called xbuild, is a minimalistic kbuild-like make-based build system, also using kconfig for scalable configurations.
2017-07-13Switch to initialization operationsRichard Braun
2017-06-25Use the C11 alignas and noreturn macrosRichard Braun
2017-06-02kern/spinlock: describe memory order constraintsRichard Braun
2017-06-02kern/spinlock: use new atomic accessor macrosRichard Braun
2017-05-30Move assert.h to the include directoryRichard Braun
This turns assert.h into a standard header.
2017-05-29kern/spinlock: replace xxx_once macros with atomic accessorsRichard Braun
2017-05-10kern/spinlock: use atomic accessors instead of memory barriersRichard Braun
2017-05-09Replace sequential consistency with more efficient ordersAgustina Arzille
2017-04-29Revert "Remove unneeded quotes when using #error"Richard Braun
This reverts commit b1aa94d0c7dba4138f651e6b081c1a0055ea8d54. New occurrences of #error are also affected by this commit.
2017-04-04Use the new atomic operations interfaceAgustina Arzille
Stick to a sequentially consistent model for most atomic operations as it matches the semantics of the existing code. Each call site will have to be reevaluated in order to switch to more relaxed accesses where possible.
2017-04-03kern/spinlock: new fair and scalable implementationRichard Braun
This new implementation, based on the MCS locks, provides rigorous fairness and excellent scalability.