Sean McBride
|
6306b46ea1
|
chore: debug current_sandbox_get
|
4 years ago |
Sean McBride
|
6554e6d1fe
|
fix: correct sloppy overflow
|
4 years ago |
Sean McBride
|
474f104092
|
chore: remove redundant highest_priority updates
|
4 years ago |
Sean McBride
|
b5f63edfee
|
chore: Update logs and flags
|
4 years ago |
Sean McBride
|
a97fe31848
|
chore: Refactor processor speed to use int
|
4 years ago |
Sean McBride
|
d3e085c64e
|
fix: correct PQ bug
|
4 years ago |
Sean McBride
|
9767aec9ad
|
chore: refactor away DEBUG define
|
4 years ago |
Sean McBride
|
5d8a761b61
|
feat: Refactor of conditional compilation units
|
4 years ago |
Sean McBride
|
f7df3c876e
|
chore: assorted socket error handling
|
4 years ago |
Sean McBride
|
32099fa948
|
fix: correct allocate 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
|
c97ab91ff2
|
feat: Additional syscalls
|
4 years ago |
Sean McBride
|
46f597a78c
|
fix: correct http-parser bug
|
4 years ago |
Sean McBride
|
abbce7df68
|
fix: restore additional syscalls
|
4 years ago |
Sean McBride
|
5d87f892a3
|
chore: add client debug logging
|
4 years ago |
Sean McBride
|
52d17f63cd
|
fix: ignore SIGPIPE
|
4 years ago |
Sean McBride
|
5ff50938e0
|
fix: Ignore SIGPIPEs
|
4 years ago |
Sean McBride
|
0e892de5b0
|
chore: fix error handling
|
4 years ago |
Sean McBride
|
25d746c2e4
|
feat: WIP
|
4 years ago |
Sean McBride
|
f356cff4a2
|
chore: Return sane errno on unimplemented syscall
|
4 years ago |
Sean McBride
|
106db3d348
|
chore: clarified syscall backing functions
|
4 years ago |
Sean McBride
|
81a4d65a2e
|
docs: Add attribution to syscall.c
|
4 years ago |
Sean McBride
|
a307d6193a
|
fix: correct atomics
|
4 years ago |
Sean McBride
|
455d73d719
|
chore: fix error on NDEBUG
|
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
|
c3dbe76173
|
chore: Change panic to assert
|
4 years ago |
Sean McBride
|
3159ab8d88
|
chore: Replace assert with runtime panic
|
4 years ago |
Sean McBride
|
1429eb1218
|
chore: remove extra casts
|
4 years ago |
Sean McBride
|
c855d013c8
|
fix: remove atomics from threadlocal
|
4 years ago |
Sean McBride
|
bf6b5d3c61
|
fix: cleanup lock API
|
4 years ago |
Sean McBride
|
69aa03d68f
|
fix: correct async write 4XX
|
4 years ago |
Sean McBride
|
83c0fcd26a
|
fix: correct so compiles on USE_HTTP_UVIO
|
4 years ago |
Sean McBride
|
cded94e68d
|
refactor: Clear pointer earlier
|
4 years ago |
Sean McBride
|
6ade9a2927
|
docs: add missing returns
|
4 years ago |
Sean McBride
|
3c7e062548
|
refactor: cleanup module DB
|
4 years ago |
Sean McBride
|
d3df215963
|
chore: Improve docs and asserts of req parsing
|
4 years ago |
Sean McBride
|
a34f98f579
|
fix: Improve module_listen error handling
|
4 years ago |
Sean McBride
|
92c17d7717
|
chore: Assorted debugging enhancements
|
4 years ago |
Sean McBride
|
c8c7c6a000
|
feat: check for accidental sandbox returns
|
4 years ago |
Sean McBride
|
6c718dfa6e
|
chore: Stop adding to unused database
|
4 years ago |
Sean McBride
|
0e521668f8
|
feat: refactor workers for nonblocking sockets
|
4 years ago |
Sean McBride
|
a7293a7a0a
|
feat: non-blocking listener core
|
4 years ago |
Sean McBride
|
c1663f59ac
|
chore: Improve module listen error handling
|
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
|
9749299672
|
chore: replace spinloop with return to main loop
|
4 years ago |
Sean McBride
|
01d32c19f8
|
chore: replace asserts with abort to be use NDEBUG
|
4 years ago |
Sean McBride
|
84cdcf7b6c
|
chore: Remove extra softint disable/enable
|
4 years ago |
Sean McBride
|
6021807256
|
feat: formalize idle loop
|
4 years ago |
Sean McBride
|
3fcc9c123a
|
chore: fix logging error
|
4 years ago |
Sean McBride
|
82d0505104
|
chore: make durations uint32_t
|
4 years ago |
Sean McBride
|
d1d27a9162
|
feat: percentiles for execution estimates
|
4 years ago |
Sean McBride
|
c9bcf086fa
|
fix: correct locking issue
|
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
|
e430202c1f
|
fix: correct control flow bug
|
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
|
f99050706e
|
chore: simplify Makefile prefix
|
4 years ago |
Sean McBride
|
4b107f3033
|
chore: cleanup debuglog file logic
|
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
|
1b58f819a7
|
chore: reuse is_worker function
|
4 years ago |
Sean McBride
|
e898d5ab69
|
chore: validate interrupts disabled at spinlock
|
4 years ago |
Sean McBride
|
d6f10cac7a
|
refactor: decompose types.h
|
4 years ago |
Sean McBride
|
486a72647b
|
feat: add check to validate signal on worker
|
4 years ago |
Sean McBride
|
564765c226
|
refactor: break sigalrm propagate into util func
|
4 years ago |
Sean McBride
|
3cec497a9b
|
refactor: break signal handlers into inline funcs
|
4 years ago |
Sean McBride
|
2d1678e091
|
feat: Encore minimum cores at compiletime
|
4 years ago |
Sean McBride
|
9720f82441
|
chore: require min 2 cores
|
4 years ago |
Sean McBride
|
b315844c46
|
feat: constant propagation state transitions
|
4 years ago |
Sean McBride
|
3bf9cc806a
|
chore: remove redundant zeroing out logic
|
4 years ago |
Sean McBride
|
aac2d3304f
|
docs: fix erroneous comment
|
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
|
43d00d645f
|
feat: tighten softint asserts in state transitions
|
4 years ago |
Sean McBride
|
a70187eed0
|
refactor: DRY up state transitions
|
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 |
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
|
fdba1b1de8
|
feat: error check context variants
|
4 years ago |
Sean McBride
|
9c74fffd38
|
docs: remove FIXME
|
4 years ago |
Sean McBride
|
bbc8d05ec9
|
refactor: remove erronious error check
|
4 years ago |
Sean McBride
|
9a963f1d0c
|
refactor: rename confusing function name
|
4 years ago |
Sean McBride
|
7919dff0ba
|
refactor: decapitalize enums
|
4 years ago |
Sean McBride
|
ef648ab47c
|
docs: remove zombie commented out code.
|
4 years ago |
Sean McBride
|
20588eb489
|
refactor: remove extra asserts in SIGUSR1
|
4 years ago |
Sean McBride
|
8614a838f8
|
docs: fix comment block
|
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
|
8ddab81a22
|
chore: revert soft int location
|
4 years ago |
Sean McBride
|
86fe1ceaa0
|
chore: rename to minimize diff
|
4 years ago |
Sean McBride
|
080c3d6656
|
chore: simplify RCs
|
4 years ago |
Sean McBride
|
41f63ebafc
|
chore: use debuglog
|
4 years ago |
Sean McBride
|
2ceede804a
|
chore: revert sandbox alloc API
|
4 years ago |
Sean McBride
|
1ae6acbbee
|
fix: correct bug and harden error handling
|
4 years ago |
Sean McBride
|
180df1a7d5
|
feat: initial implementation with interrupt bugs
|
4 years ago |
Sean McBride
|
e0df43fedf
|
docs: added comments to SIGALRM
|
4 years ago |
Sean McBride
|
233ba1fa13
|
doce: Improve error message
|
4 years ago |
Sean McBride
|
95f66ff22a
|
chore: remove overkill debuglog
|
4 years ago |
Sean McBride
|
de9e20ce89
|
chore: Improve default signal handler
|
4 years ago |
Sean McBride
|
9d5859aeaa
|
chore: replace perror with fprintf
|
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
|
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
|
0892e98d76
|
chore: declare global scheduler with panic funcs
|
4 years ago |
Sean McBride
|
f93da9e766
|
fix: add format printf to panic
|
4 years ago |
Sean McBride
|
3d9829e6b3
|
chore: clean up get sandbox in minheap preempt
|
4 years ago |
Sean McBride
|
f0aab63c26
|
fix: hack to avoid mysterious segfault
|
4 years ago |
Sean McBride
|
fa8e8628eb
|
fix: correct interrupt logic on sandbox switch
|
4 years ago |
Sean McBride
|
b381077b13
|
docs: cleanup comments
|
4 years ago |
Sean McBride
|
19c862c92a
|
chore: add error handling code to module loader
|
4 years ago |
Sean McBride
|
e70a5809be
|
feat: improve json error handling
|
4 years ago |
Sean McBride
|
02d60a740d
|
chore: add trailing newlines
|
4 years ago |
Sean McBride
|
f116e4030d
|
docs: add info on module table init refactor
|
4 years ago |