source: libcfa/src/concurrency/kernel

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @8f01ad71   3 years Thierry Delisle Forgot a few pragma once ADT ast-experimental enum pthread-emulation qualifiedEnum
(edit) @adb3ea1   3 years Thierry Delisle Some more incremental work towards using timestamps for io fairness ADT ast-experimental enum pthread-emulation qualifiedEnum
(edit) @22226e4   3 years Thierry Delisle Tentative fix for spurious deadlock in some concurrency tests ADT ast-experimental enum pthread-emulation qualifiedEnum
(edit) @708ae38   4 years Thierry Delisle Some more cleanup and grow/shrink now readjusts io timestamps. (They … ADT ast-experimental enum pthread-emulation qualifiedEnum
(edit) @48a91e2   4 years Thierry Delisle Fixed defines for cases without RSEQ ADT ast-experimental enum pthread-emulation qualifiedEnum
(edit) @bfb9bf5   4 years Thierry Delisle Fixed some warnings ADT ast-experimental enum pthread-emulation qualifiedEnum
(edit) @884f3f67   4 years Thierry Delisle Change how the ready queue is initialized to make it common with I/O ADT ast-experimental enum pthread-emulation qualifiedEnum
(edit) @c42b8a1   4 years Thierry Delisle Major cleanup and moved cluster growth to new file ADT ast-experimental enum pthread-emulation qualifiedEnum
(edit) @13fdf86   4 years Thierry Delisle Moved preemption reason to kernel_private and added preempt IO. ADT ast-experimental enum pthread-emulation qualifiedEnum
(edit) @a182ad5   4 years Thierry Delisle Revert "removed old memory allocator and replaced it with the … ADT ast-experimental enum pthread-emulation qualifiedEnum
(edit) @fe610ab   4 years pabuhr Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc ADT ast-experimental enum pthread-emulation qualifiedEnum
(edit) @09ae8a6   4 years pabuhr change initialization of stacksize = max( PTHREAD_STACK_MIN, … ADT ast-experimental enum pthread-emulation qualifiedEnum
(edit) @5614a191   4 years m3zulfiq removed old memory allocator and replaced it with the concurrent allocator ADT ast-experimental enum pthread-emulation qualifiedEnum
(edit) @c655650   4 years pabuhr update fast PRNG code ADT ast-experimental enum pthread-emulation qualifiedEnum
(edit) @c9c1c1cb   4 years Thierry Delisle Minor changes to kernel main loop and fixed stats. ADT ast-experimental enum forall-pointer-decay pthread-emulation qualifiedEnum
(edit) @7cf3b1d   4 years Thierry Delisle Added level of indirection to idle sleeps which helps statistics. ADT ast-experimental enum forall-pointer-decay pthread-emulation qualifiedEnum
(edit) @c90db2d   4 years Thierry Delisle Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc ADT ast-experimental enum forall-pointer-decay pthread-emulation qualifiedEnum
(edit) @145dcd5   4 years Thierry Delisle Now using MAX instead of -1u since it's more appropriate. ADT ast-experimental enum forall-pointer-decay pthread-emulation qualifiedEnum
(edit) @5d1ebb9   4 years pabuhr remove thread_rand, remove consolidated random generators ADT ast-experimental enum forall-pointer-decay pthread-emulation qualifiedEnum
(edit) @919a6b2   4 years pabuhr formatting ADT ast-experimental enum forall-pointer-decay pthread-emulation qualifiedEnum
(edit) @1959528   4 years pabuhr third attempt at specialized PRNG ADT ast-experimental enum forall-pointer-decay pthread-emulation qualifiedEnum
(edit) @c52f033   4 years pabuhr formatting ADT ast-experimental enum forall-pointer-decay pthread-emulation qualifiedEnum
(edit) @7d0ebd0   4 years Thierry Delisle Processors should now correctly be unconditionnaly woken-up on termination ADT ast-experimental enum forall-pointer-decay pthread-emulation qualifiedEnum
(edit) @eaf269d   4 years pabuhr add enum DEFAULT_STACK_SIZE in invoke.h and replace 65000 with enum, … ADT ast-experimental enum forall-pointer-decay pthread-emulation qualifiedEnum
(edit) @1757f98   4 years Thierry Delisle Refactoring idle sleep to try and help the change from idle on read to … ADT ast-experimental enum forall-pointer-decay pthread-emulation qualifiedEnum
(edit) @34b8cb7   4 years Thierry Delisle Step 1 of a new scheme to simplify wake_one. ADT ast-experimental enum forall-pointer-decay pthread-emulation qualifiedEnum
(edit) @7dd98b6   4 years Thierry Delisle Moved cfa_main_returned to libcfa so it works when the main is written … ADT ast-experimental enum forall-pointer-decay pthread-emulation qualifiedEnum
(edit) @24e321c   4 years Thierry Delisle Unpark now takes a hint on locality. ADT ast-experimental enum forall-pointer-decay pthread-emulation qualifiedEnum
(edit) @abcae55   4 years Thierry Delisle Removed last_cpu (and small spacing changes) ADT ast-experimental enum forall-pointer-decay pthread-emulation qualifiedEnum
(edit) @d874f59   4 years Thierry Delisle Fixed crash from get_cpu ADT ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @c86ee4c   4 years Thierry Delisle Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc ADT ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @1f45c7d   4 years Thierry Delisle Now tracking cpu migrations using push_stat. Some minor fixes to the … ADT ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @e84ab3d   4 years Thierry Delisle Step 1 of changing $thread to thread$ ADT ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @ef94ae7   4 years Thierry Delisle Changed ready-queue to use -1 for empty ts. ADT ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @0ee224b   4 years Thierry Delisle Fixed rseq so it is initilizaed even for non-processor threads. ADT ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @12daa43   4 years Thierry Delisle Added a define switch for using cpu workstealing. Not Fully implemented. ADT ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @fde879b3   4 years Thierry Delisle Fixed typo in startup.cfa without rseq support. ADT ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @f558b5f   4 years Thierry Delisle Implemented kernel_getcpu from rseq and librseq. ADT ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @3814957   4 years Thierry Delisle Commented out broken code ADT ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @3489ea6   4 years Thierry Delisle Started work on kernel_getcpu ADT ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @43784ac   4 years Thierry Delisle Changed libcfathread to consistently define _GNU_SOURCE ADT ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @ab5baab   4 years Thierry Delisle Attempt to fix the stack checker for when coroutines are interrupted … ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @3e1a705   4 years Thierry Delisle Start ready queue cutoff at zero to avoid spurious steals. ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @a67c5b6   4 years Thierry Delisle Processors now have a pointer to their tls. This means the tls is no … ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @d3ba775   4 years Thierry Delisle More clean-up after new subqueue ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @f6fdfb14   4 years Thierry Delisle Removed old sub-queue ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @2b96031   4 years Thierry Delisle Added new subqueue implementation. Seems faster will test on another … ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @c993b15   4 years Thierry Delisle Changed RW lock to avoid hitting the global array on schedule. ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @fb0be05   4 years Thierry Delisle Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @a76efc8   4 years Thierry Delisle futures now optionally don't unpark the target thread ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @cfff639   4 years Thierry Delisle Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @89eff25   4 years Thierry Delisle Some changes to stats and added back preferred ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @254ad1b   4 years Thierry Delisle Separate schedule_thread from the scheduler lock ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @a3821fa   4 years Thierry Delisle Changed enable interrupts: - no longer save the caller for debugging … ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @431cd4f   4 years Thierry Delisle Added alternative to relaxed-fifo scheduler. Disabled by default ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @a017ee7   4 years Thierry Delisle Ready-queue grow/shrink now reassigns the id of all processors. ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @fc59b580   4 years Thierry Delisle Clusters now keep track of the active processors as well ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @6a9b12b   4 years Thierry Delisle Incremental change towards having the cluster keep a list of active … ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @a7504db5   4 years Thierry Delisle Changed how the cluster idle lock is implemented to be covered by the … ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @a33c113   4 years Thierry Delisle Minor changes so using the global RWlock is more concise. ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @73f4d08   4 years Thierry Delisle Added stats implementation for dumping a big array of timestamped … ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @a5a01faa   4 years Thierry Delisle Fix a bug where stats from the main processor where not tallied properly. ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @5cb51502   4 years Thierry Delisle Fix stats so they are correctly tallied when called from outside the … ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @bd0bdd37   4 years Thierry Delisle Fix how bias is handled in the ready queue to be more consistent with … ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @a5e7233   4 years Thierry Delisle C interface now runs worker init routine in dedicated thread. Also … ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @a1538cd   5 years Thierry Delisle Implemented part of the same C api for threads as libfibre. ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @dddb3dd0   5 years Thierry Delisle Changed io to use ring per kernel threads. ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @78da4ab   5 years Thierry Delisle New implementation of io based on instance burrowing. Trying to avoid … ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @da3963a   5 years Thierry Delisle Moved bin_sem_t out of kernel.hfa since it's not needed. ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @454f478   5 years Thierry Delisle Re-arranged and commented low-level headers. Main goal was for better … ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @28c35e2   5 years Thierry Delisle Fixed startup to use proper protections ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @7a70fb2   5 years Thierry Delisle Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @72a3aff   5 years Thierry Delisle restore the the protection of the heap on destroy pthread ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @dd92fe9   5 years pabuhr switch to page_size and map_prot ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @97229d6   5 years Thierry Delisle Changed stack creation to toggle between mmap and malloc based on the … ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @bfcf6b9   5 years Thierry Delisle Stacks are always created with mmap to control page permission ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @fe9468e2   5 years Thierry Delisle Added function thread_rand as a tls-safe version of tls_rand() ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @ac12f1f   5 years Thierry Delisle canary is now a void * so it prints in hexa in gdb ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @1b033b8   5 years Thierry Delisle Alarm loop now has it's own stats block ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @82a2fed   5 years Thierry Delisle Changed preemption to use code sections rather than atomic access to TLS. ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @8fc652e0   5 years Thierry Delisle Change usage of TLS to more strongly segregate in kernel and out of … ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @e873838   5 years Thierry Delisle Removed unpark and added support for unpark from the kernel … ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @6a77224   5 years Thierry Delisle Changed park/unpark ticket to be -1,0,1 instead of 0,1,2 because it's … ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @5afb49a   5 years Thierry Delisle Split thread_leave so backend is called from the kernel once the … ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @b4b63e8   5 years Thierry Delisle Fixed missing changes to park/unpark. Added canary to threads to check … ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @e235429   5 years Thierry Delisle Removed last parker/unparker information is it was not particularly useful ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @7ab28b69   5 years Thierry Delisle Removed unnecessary line causing a warning ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @58d64a4   5 years Thierry Delisle processor_id_t now have a bool to state if it is a full processor. … ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @772411a   5 years Thierry Delisle Moved bias to it's own function. Fixed minor assertions triggering. ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @e67a82d   5 years pabuhr fix conflicts ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @88cafe7   5 years pabuhr add CtxGet routine for ARM 64-bit ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @442b624   5 years pabuhr temporarily disable ARM disable/enable_global_interrupts() ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @f2384c9a   5 years Thierry Delisle Added forward/reverse rng for later use in the ready queue ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @62502cc4   5 years Thierry Delisle Fixed deadlock where threads could acquire the central scheduler lock … ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @1eb239e4   5 years Thierry Delisle Removed snzi and replaced it with a fast/slow path ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast new-ast-unique-expr pthread-emulation qualifiedEnum
(edit) @3e2b9c9   5 years Thierry Delisle More restructuring of translation units Unclear if it improves … ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast new-ast-unique-expr pthread-emulation qualifiedEnum
(add) @e660761   5 years Thierry Delisle First attempt at reducing complation time by restructuring the code. … ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast new-ast-unique-expr pthread-emulation qualifiedEnum
Note: See TracRevisionLog for help on using the revision log.