source: libcfa/src/concurrency/kernel.hfa

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @639e4fc   2 years Thierry Delisle Changed cluster link to use explicit type to avoid anonymous names in … ADTast-experimental
(edit) @a757ba1   2 years Thierry Delisle Removed wait-with-io_uring feature which was slow, broken and ifdefed out. ADTast-experimental
(edit) @6a4ef0c   2 years Thierry Delisle Changed cltr_link to use explicit field name to make gdb easier ADTast-experimental
(edit) @cd5b58f   2 years Thierry Delisle Changed node link in thread to use dlink called cltr_link ADTast-experimental
(edit) @8b74fa7   2 years Thierry Delisle cluster now support 'set_concurrency' which addes/removes processors … ADTast-experimental
(edit) @31c967b   2 years Thierry Delisle Changed ready-queue so I can easily change the averaging algorithm. … ADTast-experimental
(edit) @160f1aa   2 years Thierry Delisle Changed links of processors in cluster to avoid anonymous names, which … ADTast-experimental
(edit) @8bee858   2 years Thierry Delisle Changed io types to have trailing $ instead of leading ADTast-experimentalpthread-emulation
(edit) @2af1943   2 years Thierry Delisle Small improvements to some of the alignment requirements in CFA runtime. ADTast-experimentalpthread-emulation
(edit) @c18bf9e   2 years Thierry Delisle Visibility concurrency ADTast-experimentalpthread-emulationqualifiedEnum
(edit) @efa28d5   3 years Thierry Delisle Change wake_time to be as long as other timestamps to ease debugging. ADTast-experimentalenumpthread-emulationqualifiedEnum
(edit) @d28b70a   3 years Thierry Delisle Now also keep track of last drain time ADTast-experimentalenumpthread-emulationqualifiedEnum
(edit) @262fafd9   3 years Thierry Delisle Added debugging information to help find deadlock. ADTast-experimentalenumpthread-emulationqualifiedEnum
(edit) @78a580d   3 years Thierry Delisle I/O now updates the timestamps when draining. Timestamps are not used yet. ADTast-experimentalenumpthread-emulationqualifiedEnum
(edit) @adb3ea1   3 years Thierry Delisle Some more incremental work towards using timestamps for io fairness ADTast-experimentalenumpthread-emulationqualifiedEnum
(edit) @22226e4   3 years Thierry Delisle Tentative fix for spurious deadlock in some concurrency tests ADTast-experimentalenumpthread-emulationqualifiedEnum
(edit) @708ae38   3 years Thierry Delisle Some more cleanup and grow/shrink now readjusts io timestamps. (They … ADTast-experimentalenumpthread-emulationqualifiedEnum
(edit) @884f3f67   3 years Thierry Delisle Change how the ready queue is initialized to make it common with I/O ADTast-experimentalenumpthread-emulationqualifiedEnum
(edit) @c42b8a1   3 years Thierry Delisle Major cleanup and moved cluster growth to new file ADTast-experimentalenumpthread-emulationqualifiedEnum
(edit) @d529ad0   3 years Thierry Delisle Pending/Dirty? flags now use relaxed atomics since they can be set remotely ADTast-experimentalenumpthread-emulationqualifiedEnum
(edit) @a892e61   3 years Thierry Delisle Some warning fixes. ADTast-experimentalenumpthread-emulationqualifiedEnum
(edit) @7cf3b1d   3 years Thierry Delisle Added level of indirection to idle sleeps which helps statistics. ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
(edit) @0fb3ee5   3 years Thierry Delisle @optim: maximize chances "cache" array stays in cache. ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
(edit) @a2a4566   3 years Thierry Delisle Added new ready-queue that uses per-thread queues but with some cpu … ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
(edit) @1757f98   3 years Thierry Delisle Refactoring idle sleep to try and help the change from idle on read to … ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
(edit) @34b8cb7   3 years Thierry Delisle Step 1 of a new scheme to simplify wake_one. ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
(edit) @089d30c   3 years Thierry Delisle Changed cpu schedulig to use moving average. ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
(edit) @c86ee4c   3 years Thierry Delisle Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @1f45c7d   3 years Thierry Delisle Now tracking cpu migrations using push_stat. Some minor fixes to the … ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @e84ab3d   3 years Thierry Delisle Step 1 of changing $thread to thread$ ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @12daa43   3 years Thierry Delisle Added a define switch for using cpu workstealing. Not Fully implemented. ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @e2f601f   3 years Thierry Delisle Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @8cd5434   3 years Thierry Delisle Added function to poll ready-queue length. Not officially supported. ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @8cd40bf   3 years Thierry Delisle Moved timestamp declaration to kernel.hfa ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @69914cbc   3 years mlbrooks Replacing "Mike's old linked list" with "Mike's new linked list," … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @a67c5b6   3 years Thierry Delisle Processors now have a pointer to their tls. This means the tls is no … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @c993b15   4 years Thierry Delisle Changed RW lock to avoid hitting the global array on schedule. ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @431cd4f   4 years Thierry Delisle Added alternative to relaxed-fifo scheduler. Disabled by default ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @9cc3a18   4 years Thierry Delisle Major clean-up before attempting to add new scheduler ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @3531e09   4 years Thierry Delisle Forgot one snzi instance ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @78d6c803   4 years Thierry Delisle Removed snzi from ready queue. It hasn't been used in a while and I … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @fc59b580   4 years Thierry Delisle Clusters now keep track of the active processors as well ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @6a9b12b   4 years Thierry Delisle Incremental change towards having the cluster keep a list of active … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @5cb51502   4 years Thierry Delisle Fix stats so they are correctly tallied when called from outside the … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @bd0bdd37   4 years Thierry Delisle Fix how bias is handled in the ready queue to be more consistent with … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @a5e7233   4 years Thierry Delisle C interface now runs worker init routine in dedicated thread. Also … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @a1538cd   4 years Thierry Delisle Implemented part of the same C api for threads as libfibre. ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @dddb3dd0   4 years Thierry Delisle Changed io to use ring per kernel threads. ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @78da4ab   4 years Thierry Delisle New implementation of io based on instance burrowing. Trying to avoid … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @da3963a   4 years Thierry Delisle Moved bin_sem_t out of kernel.hfa since it's not needed. ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @454f478   4 years Thierry Delisle Re-arranged and commented low-level headers. Main goal was for better … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @6d1790c   4 years Thierry Delisle Fixed some warnings in libcfa ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @8fc652e0   4 years Thierry Delisle Change usage of TLS to more strongly segregate in kernel and out of … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @5afb49a   4 years Thierry Delisle Split thread_leave so backend is called from the kernel once the … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @58d64a4   4 years Thierry Delisle processor_id_t now have a bool to state if it is a full processor. … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @c402739f   4 years Thierry Delisle I/O operations now use futures. io calls implementation are now … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @1eb239e4   4 years Thierry Delisle Removed snzi and replaced it with a fast/slow path ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @3e2b9c9   4 years Thierry Delisle More restructuring of translation units Unclear if it improves … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @e660761   4 years Thierry Delisle First attempt at reducing complation time by restructuring the code. … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @f00b26d4   4 years Thierry Delisle Re-worked IO to use epoll and support multiple io_contexts per … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @47746a2   4 years Thierry Delisle Added stats macro to reduce typing when using stats Added new macros … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @e46c753   4 years Thierry Delisle Added new io algorithm that eagerly submits while still helping ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @69fbc61   4 years Thierry Delisle Clusters/Processors? can now select which stats to print. Instead of … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @c34ebf2   4 years Thierry Delisle Processors now have their own print stats flag ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @13c5e19   4 years Thierry Delisle - Moved snzi and subqueues outside of ready_queue.cfa. - Added … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @0f89d4f   4 years Thierry Delisle Modified StackLF to use `next instead of getNext ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @64a7146   4 years Thierry Delisle Fixed idle sleep to no-longer use a spinlock, broke registration and … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @37ba662   4 years Thierry Delisle Minor improvements to alignments and memory layout ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @8834751   4 years Thierry Delisle Moved statistics to stats.cfa to combine ready Q stats and IO stats ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @9b1dcc2   4 years Thierry Delisle Changed scheduling API to adapt to non-Processors scheduling threads. ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @b388ee81   4 years Thierry Delisle Changed ready RW-Lock to be a single global lock instead of per … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @61d7bec   4 years Thierry Delisle Replaced the bitmask approached for the ready-queue with a SNZI ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @2f1cb37   4 years Thierry Delisle Merge branch 'master' into relaxed_ready ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @504a7dc   4 years Thierry Delisle Some fixes after the merge, compiles but still has livelocks ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @6a490b2   4 years Thierry Delisle Merge branch 'master' into relaxed_ready ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @dd4e2d7   4 years Thierry Delisle Added option to change the length of the array of ready sqe ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @5dadc9b   4 years Thierry Delisle First attempt at having the I/O thread submit ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @71c8b7e   4 years Thierry Delisle Semaphore P() now returned whether or not it block ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @b6f2b213   4 years Thierry Delisle Added the option to dynamically (at cluster creation time) … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @61dd73d   4 years Thierry Delisle Moved io_uring data to io.cfa and create it using dynamic allocation. ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @3c039b0   4 years Thierry Delisle Split Complete I/O statistics into fast and slow ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @6502a2b   4 years Thierry Delisle Tentative fix to the deadlock in cluster shutdown ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @f6660520   5 years Thierry Delisle Added new implementation of io_uring that uses user-thread ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @038be32   5 years Thierry Delisle added defines and bool for whether or not to print statistics ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @d384787   5 years Thierry Delisle Added basic statistics to io.cfa ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @2d8f7b0   5 years Thierry Delisle Implemented basic non-blocking io ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @92976d9   5 years Thierry Delisle Implemented basic io_uring setup and poller ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @92e7631   5 years Thierry Delisle Fixed ready state. Fixed race condition between halt and wake_* ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @f0ce5f4   5 years Thierry Delisle V-ing a semaphore now returns wether or not a thread was woken up. Fix … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @ac2b598   5 years Thierry Delisle Changed descriptors for concurrency to use $ prefix instead of … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @0f2c555   5 years Thierry Delisle Removed attribute const on active_* routines as it is unclear how safe … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @c7a900a   5 years Thierry Delisle More renames and clean-ups ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @a505021   5 years Thierry Delisle Merge branch 'master' into park_unpark ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @8c50aed   5 years Thierry Delisle Some clean-up and renaming, also adding attribute((const/pure)) … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @b7d6a36   5 years Thierry Delisle Merge branch 'master' into relaxed_ready ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @b0c7419   5 years Thierry Delisle Yield now uses force_yield instead of park/unpark. Final ctxswitch of … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @e3fea42   5 years pabuhr change "const char *" to "const char []" ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @dca5802   5 years Thierry Delisle Started doing some of the x86 implementations and some changes after a … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @c84b4be   5 years Thierry Delisle new ready queue seems to work but halting does not, had to be disabled ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @f80f840   5 years Thierry Delisle Merge branch 'master' into relaxed_ready ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Note: See TracRevisionLog for help on using the revision log.