source: libcfa/src/concurrency/kernel/startup.cfa

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @56bb2e1   21 months pabuhr clean up #include files ADTast-experimental
(edit) @f5f2768   21 months pabuhr make _GNU_SOURCE default, change IO to use SOCKADDR_ARG and … ADTast-experimental
(edit) @dd46fd3   2 years pabuhr generalization of PRNG ADTast-experimental
(edit) @29702ad   2 years Thierry Delisle Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc ADTast-experimental
(edit) @1553a55   2 years Thierry Delisle Explicitly zero initialize the intrusive link fields ADTast-experimental
(edit) @d2ad151   2 years pabuhr major update of PRNG ADTast-experimental
(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) @15c93d8   2 years Thierry Delisle Renamed ready-queue link fields to rdy_link ADTast-experimental
(edit) @8b74fa7   2 years Thierry Delisle cluster now support 'set_concurrency' which addes/removes processors … ADTast-experimental
(edit) @878cfcc   2 years Thierry Delisle Added extra check to make sure threads is never double executed ADTast-experimental
(edit) @df6cc9d   2 years Thierry Delisle Merge branch 'master' into pthread-emulation ADTast-experimental
(edit) @116a2ea   2 years pabuhr new heap and associated tests updated ADTast-experimental
(edit) @95dab9e   2 years Thierry Delisle Changed real_pthread symbols (now cfaabi_pthread) to be protected in … ADTast-experimentalpthread-emulation
(edit) @7f6a7c9   2 years Thierry Delisle Merge branch 'master' into pthread-emulation ADTast-experimentalpthread-emulation
(edit) @1bcbf02   2 years Thierry Delisle Changed declarations using _Thread_local to use thread. I'm fairly … ADTast-experimentalpthread-emulation
(edit) @01ba701   2 years Thierry Delisle Purged "thread_local" from code base. Replaced with C11's … ADTast-experimentalpthread-emulation
(edit) @cd3fc46   2 years Thierry Delisle Changed scheduler lock to remove one level of pointer. ADTast-experimentalpthread-emulation
(edit) @20be782   2 years z277zhu add pthread ADTast-experimentalpthread-emulation
(edit) @a7d696f   2 years z277zhu added pthread symbol interpose Signed-off-by: z277zhu … ADTast-experimentalpthread-emulation
(edit) @2af1943   2 years Thierry Delisle Small improvements to some of the alignment requirements in CFA runtime. ADTast-experimentalpthread-emulation
(edit) @b035046   2 years Thierry Delisle changed some MAX to ULLONG_MAX to avoid the memory access where … ADTast-experimentalpthread-emulationqualifiedEnum
(edit) @c18bf9e   2 years Thierry Delisle Visibility concurrency ADTast-experimentalpthread-emulationqualifiedEnum
(edit) @0c3aa67   3 years Thierry Delisle Fixed missing initialization. ADTast-experimentalenumpthread-emulationqualifiedEnum
(edit) @efa28d5   3 years Thierry Delisle Change wake_time to be as long as other timestamps to ease debugging. 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) @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) @a182ad5   3 years Thierry Delisle Revert "removed old memory allocator and replaced it with the … ADTast-experimentalenumpthread-emulationqualifiedEnum
(edit) @fe610ab   3 years pabuhr Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc ADTast-experimentalenumpthread-emulationqualifiedEnum
(edit) @09ae8a6   3 years pabuhr change initialization of stacksize = max( PTHREAD_STACK_MIN, … ADTast-experimentalenumpthread-emulationqualifiedEnum
(edit) @5614a191   3 years m3zulfiq removed old memory allocator and replaced it with the concurrent allocator ADTast-experimentalenumpthread-emulationqualifiedEnum
(edit) @c655650   3 years pabuhr update fast PRNG code 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) @c90db2d   3 years Thierry Delisle Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
(edit) @145dcd5   3 years Thierry Delisle Now using MAX instead of -1u since it's more appropriate. ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
(edit) @919a6b2   3 years pabuhr formatting ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
(edit) @1959528   3 years pabuhr third attempt at specialized PRNG ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
(edit) @7d0ebd0   3 years Thierry Delisle Processors should now correctly be unconditionnaly woken-up on termination ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
(edit) @eaf269d   3 years pabuhr add enum DEFAULT_STACK_SIZE in invoke.h and replace 65000 with enum, … 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) @7dd98b6   3 years Thierry Delisle Moved cfa_main_returned to libcfa so it works when the main is written … ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
(edit) @24e321c   3 years Thierry Delisle Unpark now takes a hint on locality. ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
(edit) @abcae55   3 years Thierry Delisle Removed last_cpu (and small spacing changes) ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
(edit) @d874f59   3 years Thierry Delisle Fixed crash from get_cpu ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-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) @ef94ae7   3 years Thierry Delisle Changed ready-queue to use -1 for empty ts. ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @0ee224b   3 years Thierry Delisle Fixed rseq so it is initilizaed even for non-processor threads. 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) @fde879b3   3 years Thierry Delisle Fixed typo in startup.cfa without rseq support. ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @f558b5f   3 years Thierry Delisle Implemented kernel_getcpu from rseq and librseq. ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @3814957   3 years Thierry Delisle Commented out broken code ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @3489ea6   3 years Thierry Delisle Started work on kernel_getcpu ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @43784ac   3 years Thierry Delisle Changed libcfathread to consistently define _GNU_SOURCE ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @ab5baab   3 years Thierry Delisle Attempt to fix the stack checker for when coroutines are interrupted … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @3e1a705   3 years Thierry Delisle Start ready queue cutoff at zero to avoid spurious steals. 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) @d3ba775   3 years Thierry Delisle More clean-up after new subqueue ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @f6fdfb14   3 years Thierry Delisle Removed old sub-queue ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @2b96031   3 years Thierry Delisle Added new subqueue implementation. Seems faster will test on another … 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) @cfff639   4 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) @89eff25   4 years Thierry Delisle Some changes to stats and added back preferred ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @254ad1b   4 years Thierry Delisle Separate schedule_thread from the scheduler lock ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @a3821fa   4 years Thierry Delisle Changed enable interrupts: - no longer save the caller for debugging … 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) @a017ee7   4 years Thierry Delisle Ready-queue grow/shrink now reassigns the id of all processors. 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) @a7504db   4 years Thierry Delisle Changed how the cluster idle lock is implemented to be covered by the … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @a33c113   4 years Thierry Delisle Minor changes so using the global RWlock is more concise. ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @73f4d08   4 years Thierry Delisle Added stats implementation for dumping a big array of timestamped … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @a5a01faa   4 years Thierry Delisle Fix a bug where stats from the main processor where not tallied properly. 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) @28c35e2   4 years Thierry Delisle Fixed startup to use proper protections ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @7a70fb2   4 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) @72a3aff   4 years Thierry Delisle restore the the protection of the heap on destroy pthread ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @dd92fe9   4 years pabuhr switch to page_size and map_prot ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @97229d6   4 years Thierry Delisle Changed stack creation to toggle between mmap and malloc based on the … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @bfcf6b9   4 years Thierry Delisle Stacks are always created with mmap to control page permission ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @ac12f1f   4 years Thierry Delisle canary is now a void * so it prints in hexa in gdb ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @1b033b8   4 years Thierry Delisle Alarm loop now has it's own stats block 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) @e873838   4 years Thierry Delisle Removed unpark and added support for unpark from the kernel … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @6a77224   4 years Thierry Delisle Changed park/unpark ticket to be -1,0,1 instead of 0,1,2 because it's … 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
Note: See TracRevisionLog for help on using the revision log.