|
|
@7d0ebd0
|
3 years |
Thierry Delisle |
Processors should now correctly be unconditionnaly woken-up on termination
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@6fafda8
|
3 years |
pabuhr |
Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@eaf269d
|
3 years |
pabuhr |
add enum DEFAULT_STACK_SIZE in invoke.h and replace 65000 with enum, …
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@7636fcc
|
3 years |
Thierry Delisle |
Removed fast_lock from testing and added deprecation attribute to it.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@d3605f8
|
3 years |
Thierry Delisle |
Reworked io_uring idle sleep to work with either read or readv …
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@3bb4f85
|
3 years |
Thierry Delisle |
Kernel now waits for eventfd read to flush before terminating.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@a1f3d93
|
3 years |
Thierry Delisle |
Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@c7b2215
|
3 years |
Thierry Delisle |
Fix implementation of io_uring_enter instead of eventfds.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@2514f68b
|
3 years |
Thierry Delisle |
Missed a not (!)
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@6ddef36
|
3 years |
Thierry Delisle |
No longer define kernel_read when not needed.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@7ef162b2
|
3 years |
Thierry Delisle |
First attempt at using io_uring_enter for idle sleep.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@059ad16
|
3 years |
Thierry Delisle |
Flush now supports blocking until at least one I/O op terminates.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@1757f98
|
3 years |
Thierry Delisle |
Refactoring idle sleep to try and help the change from idle on read to …
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@a633f6f
|
3 years |
Thierry Delisle |
Fix the new FD change.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@b14ec5f
|
3 years |
Thierry Delisle |
Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@34b8cb7
|
3 years |
Thierry Delisle |
Step 1 of a new scheme to simplify wake_one.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@5f5a729
|
3 years |
Thierry Delisle |
Mark idle now uses try_lock semantics
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@a1574e2
|
3 years |
Thierry Delisle |
Forgot this was needed for the non-VLA commit.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@7dd98b6
|
3 years |
Thierry Delisle |
Moved cfa_main_returned to libcfa so it works when the main is written …
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@e58e423
|
3 years |
Thierry Delisle |
Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@c2ba08a
|
3 years |
Thierry Delisle |
Added missing io_future_t reset function.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@e8ac228
|
3 years |
Thierry Delisle |
Fix major bug where to few items were submitted.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@eb9c2dc
|
3 years |
caparson |
trimmed down includes more
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@441d11c
|
3 years |
caparson |
trimmed down includes
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@45c9441
|
3 years |
Thierry Delisle |
Fix lock in io.cfa
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@c33c2af
|
3 years |
Thierry Delisle |
Made some of the schedule locking more fine grain.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@75c7252
|
3 years |
Thierry Delisle |
CPU workstealing now has correct remote unpark.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@24e321c
|
3 years |
Thierry Delisle |
Unpark now takes a hint on locality.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@fcd65ca
|
3 years |
Thierry Delisle |
Fixed incorrect access into lanes.help
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@089d30c
|
3 years |
Thierry Delisle |
Changed cpu schedulig to use moving average.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@bc4a433
|
3 years |
Thierry Delisle |
Diabled epoll aproach by default.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@4500e52
|
3 years |
Thierry Delisle |
Added cfathread version that uses epoll
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@db614d0
|
3 years |
Thierry Delisle |
Added stats for epoll
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@420b498
|
3 years |
Thierry Delisle |
Moved cfathread to Colby's new lock.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@abcae55
|
3 years |
Thierry Delisle |
Removed last_cpu (and small spacing changes)
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@ec421636
|
3 years |
Thierry Delisle |
No longer using eventfd_read to avoid the poor interrupt handling.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@cf78319
|
3 years |
Thierry Delisle |
removed unnecessary local variable
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@4d8fbf4
|
3 years |
caparson |
Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@a8367eb
|
3 years |
caparson |
fixed mutexStmt bug related to pointers/references
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@445f984
|
3 years |
Thierry Delisle |
Forgot to commit changes to include.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@56e5b24
|
3 years |
Thierry Delisle |
Manually read from event fd instead of calling eventfd_read, which …
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@bbe3719
|
3 years |
caparson |
cleaned up some mutex stmt related code
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@1b97976c
|
3 years |
caparson |
added in file I forgot and added test expect for locks
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationpthread-emulationqualifiedEnum
|
|
|
@af67ee1
|
3 years |
caparson |
Added support for locks as parameters to mutex stmt
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationpthread-emulationqualifiedEnum
|
|
|
@6cebfef
|
3 years |
caparson |
added mutex stmt monitor
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@d874f59
|
3 years |
Thierry Delisle |
Fixed crash from get_cpu
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@d83b266
|
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
|
|
|
@f9b68d6
|
3 years |
caparson |
made spacing consistent
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@12a1013
|
3 years |
caparson |
fixed wait counter
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@6ff08d8
|
3 years |
caparson |
Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@eba9d27
|
3 years |
caparson |
fixed incorrect copy ctor
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@55ad35c
|
3 years |
caparson |
removed print and deleted equal operator for lock
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@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
|
|
|
@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
|
|
|
@d1ecd39
|
3 years |
Thierry Delisle |
Removd debug print failing the build
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@8f1a99e
|
3 years |
Thierry Delisle |
Step 3 Fixed tests
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@e84ab3d
|
3 years |
Thierry Delisle |
Step 1 of changing $thread to thread$
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@b7763da
|
3 years |
caparson |
added martin lock and improvement
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@dcad80a
|
3 years |
caparson |
fixed bug with locks
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@660665f
|
3 years |
caparson |
Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@5a46e09
|
3 years |
caparson |
Added Martins SpinCondLock? as linear_backoff_then_block lock
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@6ba6846
|
3 years |
Thierry Delisle |
Minor ready-queue fixes
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@953827a
|
3 years |
Thierry Delisle |
Fixed cpu work stealing to properly fall back on other nodes.
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@5614552a
|
3 years |
Thierry Delisle |
Fixed warnings
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@ef94ae7
|
3 years |
Thierry Delisle |
Changed ready-queue to use -1 for empty ts.
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@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
|
|
|
@07b4970
|
3 years |
Thierry Delisle |
Fix incorrect change that disabled all lists
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@df7597e0
|
3 years |
Thierry Delisle |
Fix the cpu-based ready to actually use cpu_info
rather then being a …
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@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
|
|
|
@fde879b3
|
3 years |
Thierry Delisle |
Fixed typo in startup.cfa without rseq support.
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@f558b5f
|
3 years |
Thierry Delisle |
Implemented kernel_getcpu from rseq and librseq.
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@3814957
|
3 years |
Thierry Delisle |
Commented out broken code
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@3489ea6
|
3 years |
Thierry Delisle |
Started work on kernel_getcpu
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@43784ac
|
3 years |
Thierry Delisle |
Changed libcfathread to consistently define _GNU_SOURCE
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@07033ce
|
3 years |
Thierry Delisle |
Even more work on removing any possible integer overflow in fast lock test
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@733fd3d
|
3 years |
Thierry Delisle |
Added missing corctx_flag in assertion
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@50871b4
|
3 years |
Thierry Delisle |
Whitespace clean-up
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@bae0d35
|
3 years |
caparson |
Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@96bfdde7
|
3 years |
Thierry Delisle |
Forgot to add symmetric change to last verify change
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@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
|
|
|
@82f4063
|
3 years |
caparson |
switched unified locking to use dlist
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@b808625
|
4 years |
Thierry Delisle |
Added option to ready-queue to push ignoring locality.
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@9cac0da
|
4 years |
Thierry Delisle |
Small fixes to how timestamp is handled in workstealing queue.
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@d36bac7
|
4 years |
Thierry Delisle |
Drain on I/O
Added (commented) hack to prevent workstealing when pushing.
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@78ea291
|
4 years |
Thierry Delisle |
Cleanup stats for concision.
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@02a43ff
|
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
|
|
|
@afd7faf
|
4 years |
Thierry Delisle |
Small fixes to lock and alarm around possible race and the thunk problem.
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@90a10e8
|
4 years |
caparson |
made a naming improvement
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@0f1fb78
|
4 years |
caparson |
put timeval calculation into alarm_node ctor to alleviate slowdowns …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@353aaba
|
4 years |
Thierry Delisle |
Moved stats cnt to fix 32-bit build
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@c457dc41
|
4 years |
Thierry Delisle |
Fix sequential handling of timers
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@e2f601f
|
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
|
|
|
@8cd5434
|
4 years |
Thierry Delisle |
Added function to poll ready-queue length.
Not officially supported.
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@57f70ab
|
4 years |
Thierry Delisle |
New main now uses proper define.
+ tweak to loop count
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@a9172b5
|
4 years |
Thierry Delisle |
Removed push stats in alternate main
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@fb4ccdf
|
4 years |
Thierry Delisle |
Updated alternate main for processors
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@16fd826
|
4 years |
Thierry Delisle |
Added count to the ready sub_queues
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@8cd40bf
|
4 years |
Thierry Delisle |
Moved timestamp declaration to kernel.hfa
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@69914cbc
|
4 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
|
|
|
@1680072
|
4 years |
Thierry Delisle |
Changed ready_queue to use forloop instead of hardcoded unfolded loop of 2
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|