|
|
@90a8125
|
2 years |
Thierry Delisle |
Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc
ADTast-experimentalpthread-emulationqualifiedEnum
|
|
|
@bf0263c
|
2 years |
Thierry Delisle |
setup error is now clearer
ADTast-experimentalpthread-emulationqualifiedEnum
|
|
|
@b035046
|
2 years |
Thierry Delisle |
changed some MAX to ULLONG_MAX to avoid the memory access where …
ADTast-experimentalpthread-emulationqualifiedEnum
|
|
|
@108345a
|
2 years |
Thierry Delisle |
visbility for io
ADTast-experimentalpthread-emulationqualifiedEnum
|
|
|
@e71e94a
|
3 years |
Thierry Delisle |
Some clean-up of ready queue usage of -1llu.
io types ts now returns …
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@7425720
|
3 years |
Thierry Delisle |
Fixed 32bit build
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@18f7858
|
3 years |
Thierry Delisle |
Refactored io to allow holding the lock duirng idle sleep
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@4479890
|
3 years |
Thierry Delisle |
Implemented helping for io drain based on timestamps.
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@78a580d
|
3 years |
Thierry Delisle |
I/O now updates the timestamps when draining.
Timestamps are not used yet.
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@4ecc35a
|
3 years |
Thierry Delisle |
Added spin lock to io drain.
last step before completion fairness
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@22226e4
|
3 years |
Thierry Delisle |
Tentative fix for spurious deadlock in some concurrency tests
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@708ae38
|
3 years |
Thierry Delisle |
Some more cleanup and grow/shrink now readjusts io timestamps.
(They …
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@bfb9bf5
|
3 years |
Thierry Delisle |
Fixed some warnings
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@40a606d2
|
3 years |
Thierry Delisle |
Modified io headers so io/types.hfa can stay private
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@b0d0285
|
3 years |
Thierry Delisle |
kernel now aborts if a ring is closed with unsubmitted entries.
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@a986807
|
3 years |
Thierry Delisle |
Fix stub of cfa_io_flush for cases with no IOURING.
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
|
|
|
@c7b2215
|
3 years |
Thierry Delisle |
Fix implementation of io_uring_enter instead of eventfds.
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
|
|
|
@c2ba08a
|
3 years |
Thierry Delisle |
Added missing io_future_t reset function.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@e84ab3d
|
3 years |
Thierry Delisle |
Step 1 of changing $thread to thread$
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
|
|
|
@a76efc8
|
4 years |
Thierry Delisle |
futures now optionally don't unpark the target thread
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@57b3675
|
4 years |
Thierry Delisle |
Fix warnings in io implementation.
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@11054eb
|
4 years |
Thierry Delisle |
Fix io to no longer use monitors since some usages aren't in threads
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@a5040fe
|
4 years |
Thierry Delisle |
Fixed splice declaration to match the real declaration rather than the …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@44f09ea
|
4 years |
Thierry Delisle |
Fix include used for u32 and friends
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@f815c46
|
4 years |
Thierry Delisle |
Fix missing definition without io_uring.
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@dddb3dd0
|
4 years |
Thierry Delisle |
Changed io to use ring per kernel threads.
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@4c4d854
|
4 years |
Thierry Delisle |
Fixed broken initialization and add verify.
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@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
|
|
|
@7b91c0e
|
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
|
|
|
@2fab24e3
|
4 years |
Thierry Delisle |
Fixed some warnings and printing.
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@9db2c92
|
4 years |
Thierry Delisle |
fixed missing include
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@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
|
|
|
@4fc3343
|
4 years |
Thierry Delisle |
Fix race with memory reclamation of io_context.
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@d611995
|
4 years |
Thierry Delisle |
Fix crash on cluster exit.
(Added epoch based blocking to iopoll.)
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@b7664a03
|
4 years |
Thierry Delisle |
Removed some warnings and allowed io calls to compile without io_uring.
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@7222630
|
4 years |
Thierry Delisle |
Small refector so only preemption cares about signal
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@b0f6190a
|
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
|
|
|
@bb58825
|
4 years |
Thierry Delisle |
io_uring_register is so debilitatingly slow on some machines I have to …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@ec19b21
|
4 years |
Thierry Delisle |
Fixed compile for older versions of io_uring
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@7dafb7b
|
4 years |
Thierry Delisle |
Moved zeroing-out of sqes to call.cfa
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@35285fd
|
4 years |
Thierry Delisle |
Refactor sqe reclamation to systematically thrash the sqe in debug
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@d48b174
|
4 years |
Thierry Delisle |
clean-up handling of epoll so it's limited to one file
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@58f99b3
|
4 years |
Thierry Delisle |
Retry interruptable syscalls instead of blocking interrupts
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@426f60c
|
4 years |
Thierry Delisle |
Web server seems to work
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@ece0e80
|
4 years |
Thierry Delisle |
Added prints.
Naive implementation of cancel.
Server now shutdown cleanly.
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@35fd2c4
|
4 years |
Thierry Delisle |
Fixed errors in how accept4 was implemented
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@80444bb
|
4 years |
Thierry Delisle |
Fixed prints in io setup.
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@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
|
|
|
@fe9468e2
|
4 years |
Thierry Delisle |
Added function thread_rand as a tls-safe version of tls_rand()
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@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
|
|
|
@3c80ccc
|
4 years |
Thierry Delisle |
Fixed io/setup after new assertion
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@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
|
|
|
@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
|
|
|
@290553a
|
4 years |
Thierry Delisle |
Changed some defines to constants with last fix
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@0d72d45
|
4 years |
Thierry Delisle |
Fix old unpark in io setup
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@e235429
|
4 years |
Thierry Delisle |
Removed last parker/unparker information is it was not particularly useful
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@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
|
|
|
@eccb14d
|
4 years |
Thierry Delisle |
Missed fix in madvise
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@4ab3cf9b
|
4 years |
Thierry Delisle |
Fixed typos and small errors in io/call.cfa.in
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@ace2e92
|
4 years |
Thierry Delisle |
Fix deprecated HAVE_PREADV2/HAVE_PWRITEV2 macros.
Disabled diagnostics …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@0e52f14
|
4 years |
Thierry Delisle |
Fixed where io types are added
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@930e57e
|
4 years |
Thierry Delisle |
Fix io types to work without io_uring
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@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
|
|
|
@ceb7db8
|
4 years |
m3zulfiq |
Added alloc interface with backtick and removed polymorphic alloc …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@d2b5d2d
|
4 years |
Thierry Delisle |
Set leader lock as default for I/O, which seems the better default
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@1095ccd
|
4 years |
Thierry Delisle |
Added support for partial submit strategy
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@2fafe7e
|
4 years |
Thierry Delisle |
Changed eager submit to use a leader-lock rather than a regular …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@4998155
|
4 years |
Thierry Delisle |
I/O now uses onshot semaphore instead of raw park/unpark.
I/O now uses …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@63fe427c
|
4 years |
Thierry Delisle |
Added checks for incorrect io setups.
Fix bug where number of entries …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@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
|
|
|
@f277633e
|
4 years |
Thierry Delisle |
Fixed missing constructor when io_uring is not present
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@c44d652
|
4 years |
Thierry Delisle |
Fixed broken merge
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@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
|