Sean McBride
f7df3c876e
chore: assorted socket error handling
4 years ago
Sean McBride
a83ae29d1b
feat: remove libuv, rework pq, http close DRY up
4 years ago
Sean McBride
8aef688553
feat: runtime configurable sandbox perf logging
4 years ago
Sean McBride
99d33c46cb
fix: correct error code
4 years ago
Sean McBride
e810d78561
feat: expose NWORKERS as environment var
4 years ago
Sean McBride
c0a97a5394
feat: Expose scheduler as runtime config
4 years ago
Sean McBride
46f597a78c
fix: correct http-parser bug
4 years ago
Sean McBride
7ca1f8e63d
docs: Remove incorrect comment
4 years ago
Sean McBride
25d746c2e4
feat: WIP
4 years ago
Sean McBride
ef777c2705
refactor: set flags to bool
4 years ago
Sean McBride
2a82fe96f3
feat: get epoll implementation working
4 years ago
Sean McBride
ff8c04a6e9
chore: Change client parsing from error to log
4 years ago
Sean McBride
10ad100847
feat: Use integers for admissions control
4 years ago
Sean McBride
bf6b5d3c61
fix: cleanup lock API
4 years ago
Sean McBride
3c7e062548
refactor: cleanup module DB
4 years ago
Sean McBride
e0a80711f9
chore: Simplify module db add
4 years ago
Sean McBride
92c17d7717
chore: Assorted debugging enhancements
4 years ago
Sean McBride
f93a18e685
chore: change perror to debuglog
4 years ago
Sean McBride
e91f9feb8e
fix: disable interrupts when lock is held
4 years ago
Sean McBride
6c718dfa6e
chore: Stop adding to unused database
4 years ago
Sean McBride
a7293a7a0a
feat: non-blocking listener core
4 years ago
Sean McBride
0787b27b4f
fix: correct module db errors
4 years ago
Sean McBride
019130b43c
chore: Cleanup module_database_dd
4 years ago
Sean McBride
296a907107
docs: better document epoll backlog
4 years ago
Sean McBride
c1edca2a42
chore: assorted socket error handling
4 years ago
Sean McBride
9ead528dfc
chore: better debugging and small socket fixes
4 years ago
Sean McBride
587e2ab354
feat: Only dequeue request if actually earlier
4 years ago
Sean McBride
e3261244ee
chore: replace aborts with panics
4 years ago
Sean McBride
9bed646e3b
chore: enhance log granularity
4 years ago
Sean McBride
01d32c19f8
chore: replace asserts with abort to be use NDEBUG
4 years ago
Sean McBride
04e63c2a02
chore: panic on recursive softint disables
4 years ago
Sean McBride
c30018eb4a
chore: Improve buffer names
4 years ago
Sean McBride
82d0505104
chore: make durations uint32_t
4 years ago
Sean McBride
392d04423a
chore: ignore loop of asserts on NDEBUG
4 years ago
Sean McBride
d1d27a9162
feat: percentiles for execution estimates
4 years ago
Sean McBride
f8f1db7eaf
feat: complete lock refactor
4 years ago
Sean McBride
b3215c6dbc
feat: all but trylock
4 years ago
Sean McBride
6673734857
feat: mcs locks and profiling
4 years ago
Sean McBride
c291b049c8
fix: Properly close malformed requests
4 years ago
Sean McBride
e445e76870
feat: add ability to reject request
4 years ago
Sean McBride
76ba308c16
feat: Initial MVP of admissions control
4 years ago
Sean McBride
142a57dbb6
chore: make cleanup
4 years ago
Sean McBride
4b107f3033
chore: cleanup debuglog file logic
4 years ago
Sean McBride
0707f44989
chore: enforce that buffer is power of 2
4 years ago
Sean McBride
c307f2a166
feat: Implement perf window
4 years ago
Sean McBride
628275f6f9
docs: Associate FIXMEs and TODOs with issues
4 years ago
Sean McBride
f963828db7
chore: general pq cleanup
4 years ago
Sean McBride
6cb442d13d
docs: assumptions and runtime globals
4 years ago
Sean McBride
ba4f9e2119
feat: precomp module deadline cycles
4 years ago
Sean McBride
e898d5ab69
chore: validate interrupts disabled at spinlock
4 years ago
Sean McBride
8e36412944
choe: add util to detect if worker
4 years ago
Sean McBride
94a95c826d
fix: add missing header
4 years ago
Sean McBride
d6f10cac7a
refactor: decompose types.h
4 years ago
Sean McBride
9720f82441
chore: require min 2 cores
4 years ago
Sean McBride
eb491a9018
chore: add always inline attributes
4 years ago
Sean McBride
b315844c46
feat: constant propagation state transitions
4 years ago
Sean McBride
eca1546f7a
chore: improved logging
4 years ago
Sean McBride
465b820326
chore: static inline sandbox_state_stringify
4 years ago
Sean McBride
c37b2ba9a9
docs: Assorted comment cleanup
4 years ago
Sean McBride
842d078846
feat: set as error transition
4 years ago
Sean McBride
c0bcbdbc2e
feat: set as returned
4 years ago
Sean McBride
c014f94797
feat: set as blocked
4 years ago
Sean McBride
b85d089537
feat: running, preempted, complete transitions
4 years ago
Sean McBride
65b10f19dd
feat: sandbox set as runnable
4 years ago
Sean McBride
fd22432cb0
refactor: set_as_initialized
4 years ago
Sean McBride
048b01e690
feat: print_perf
4 years ago
Sean McBride
24e25f255f
feat: add sandbox_state_stringify
4 years ago
Sean McBride
33d65605b1
refactor: free linear memory func
4 years ago
Sean McBride
7dc4488d74
chore: add sandbox state
4 years ago
Sean McBride
853382dcda
fix: correct HTTP response syntax
4 years ago
Sean McBride
8d1b447e74
refactor: cleanup HTTP response logic
4 years ago
Sean McBride
81e3a88a1f
chore: fix case on enums
4 years ago
phani
1370c9f3e1
changes in aarch64 for context variant
...
* Tested fibonacci with 10 and 20 seperately
* Tested fibonacci multi that are in tests/preemption with client1 and
client2 requests.
* Observed a bug in the response: The respone also includes request
headers/body in it, needs to be addressed.
4 years ago
Sean McBride
cc88f82958
docs: clarify context switch documentation
4 years ago
Sean McBride
3aba285862
refactor: namespace to arch_context_variant
4 years ago
Sean McBride
8b199f702e
chore: remove extra consistency check
4 years ago
Sean McBride
61fd015254
docs: add commet to mcontext restore
4 years ago
Sean McBride
fdba1b1de8
feat: error check context variants
4 years ago
Sean McBride
8c3ccc8f14
docs: fix zombie comment
4 years ago
Sean McBride
859e87f425
refactor: remove extraneous zeroing out
4 years ago
Sean McBride
3f4567ea6e
docs: remove restore comment about IP of 0
4 years ago
Sean McBride
24beddd369
docs: preemption does not use fastpasth restore
4 years ago
Sean McBride
5dc987c301
chore: remove extra memset
4 years ago
Sean McBride
42566b1c6e
chore: comment context variants and use running
4 years ago
Sean McBride
9dc6d8dd8a
refactor: arch_context_unused error handling
4 years ago
Sean McBride
9a963f1d0c
refactor: rename confusing function name
4 years ago
Sean McBride
f51fd1ef80
docs: remove redundant comment
4 years ago
Sean McBride
7919dff0ba
refactor: decapitalize enums
4 years ago
Sean McBride
64dc49a0fc
docs: Justify additional common.h file
4 years ago
Sean McBride
68c767254a
docs: fix case in comment
4 years ago
Sean McBride
31c3a9329a
refactor: rename QUICK to FAST
4 years ago
Sean McBride
47672b4c93
fix: correct bugs
4 years ago
Sean McBride
b979809c12
chore: fix debuglog usage
4 years ago
Sean McBride
2db5f84f11
chore: Initial buggy port
4 years ago
Sean McBride
236e39b263
refactor: DRY arch_context code
4 years ago
Sean McBride
080c3d6656
chore: simplify RCs
4 years ago
Sean McBride
2ceede804a
chore: revert sandbox alloc API
4 years ago
Sean McBride
a9423b104c
chore: wrap multiline if
4 years ago
Sean McBride
1ae6acbbee
fix: correct bug and harden error handling
4 years ago
Sean McBride
1c65516164
chore: log invalid module errors
4 years ago
Sean McBride
180df1a7d5
feat: initial implementation with interrupt bugs
4 years ago
Sean McBride
5c87885722
chore: rename request_arrival_timestamp
4 years ago
Sean McBride
2b161f2f86
refactor: move mcontext_restore to arch_context
4 years ago
Sean McBride
d1f80d8b1e
chore: port simple doc and error handlign
4 years ago
Sean McBride
a2319f2a68
chore: refactor out arch_context_t
4 years ago
Sean McBride
2f164c3430
chore: refactor our sandbox_request_t
4 years ago
Sean McBride
1487614863
chore: refactor out u8
4 years ago
Sean McBride
7f9ffe236e
chore: refactor out u8
4 years ago
Sean McBride
59c44f90e6
chore: refactor out i16
4 years ago
Sean McBride
6b1880077a
chore: refactor out u16
4 years ago
Sean McBride
213c558a75
chore: refactor out i32
4 years ago
Sean McBride
ec3b489b21
chore: refactor out i64
4 years ago
Sean McBride
4cb7c355b4
chore: refactor out u32
4 years ago
Sean McBride
407a20d22a
chore: refactor out u64
4 years ago
Sean McBride
eca987ccb4
fix: correct valgrind errors
4 years ago
Sean McBride
f93da9e766
fix: add format printf to panic
4 years ago
Sean McBride
df043c5a4a
chore: assert preemp disabled on mcontext restore
4 years ago
Sean McBride
bb4e5467e8
docs: change TODO to FIXME in libuv cb
4 years ago
Sean McBride
a19955f023
fix: Make userspace registers explicit integers
4 years ago
Sean McBride
948947dec8
chore: merge changes from other branch
4 years ago
Sean McBride
02d60a740d
chore: add trailing newlines
4 years ago
Sean McBride
324253095d
refactor: clarify interval duration is not macro
4 years ago
Sean McBride
47f24b6952
fix: namespace sandbox states
4 years ago
Sean McBride
0d1d73018a
docs: remove redundant comments in types.h
4 years ago
Sean McBride
50c46ae8e9
docs: better comment wasm init funcs
4 years ago
Sean McBride
58a38016b1
chore: sandbox member cache->sandbox context cache
4 years ago
Sean McBride
fbea46b84f
chore: add newline to panic function
4 years ago
Sean McBride
613ed72ee5
chore: flatten x64 mcontext restore else
4 years ago
Sean McBride
9eb5541afa
feat: propagate dequeue and remove return codes
4 years ago
Sean McBride
d36b28bf21
chore: local_runqueue add cleanup
4 years ago
Sean McBride
5ccf8bbd87
chore: organize preprocessor includes
4 years ago
Sean McBride
dfb1c65e93
fix: push PQ error handling to caller
4 years ago
Sean McBride
7384b2de1e
fix: harden panic logic
4 years ago
Sean McBride
68e91a8853
chore: combine thread locals into struct
4 years ago
Sean McBride
1c2aa448cd
chore: rename scheduler interfaces and variants
4 years ago
Sean McBride
0eb474a8d7
chore: replace app header guards w pragma once
4 years ago
Sean McBride
f7e472a8d9
chore: rename get_priority to get_priority_fn
4 years ago
Sean McBride
46881a0f26
chore: suffix fn typedefs with _fn_t
4 years ago
Sean McBride
ab41672359
docs: remove extraneous comment
4 years ago
Sean McBride
08fecb21d1
docs: fixing additional multiline comment
4 years ago
Sean McBride
3dd4a6857d
docs: fix multi-line comment
4 years ago
Sean McBride
29201f737d
docs: Use style guide format for comments
4 years ago
Sean McBride
cf42133127
chore: add explicit curly braces
4 years ago
Sean McBride
94f69a912c
docs: better inline comment
5 years ago
Sean McBride
b8a0e28d11
chore: cleanup sandbox logic
5 years ago
Sean McBride
c0d82db22b
fix: Correct memory leak and general cleanup
5 years ago
Sean McBride
fa5f254af1
chore: remove extraneous log
5 years ago
Sean McBride
06dbd3cd21
chore: remove redudant typedef
5 years ago
Sean McBride
218893ed3b
feat: Non-crashing demo state
5 years ago
Sean McBride
3caecadefe
feat: Implement peek in ps
5 years ago