Commit Graph

26 Commits

Author SHA1 Message Date
vyzo
90d7e860a0 introduce per protocol peer limits, don't transfer resources out of protocol when setting the service 2022-01-17 12:33:01 +02:00
vyzo
488f08cb1d add test for per service peer limits 2022-01-17 12:33:01 +02:00
vyzo
5487b6bdac add support for per service peer limits 2022-01-17 12:33:01 +02:00
vyzo
a5e4e5a670 move resource from protocol to service when a service for a stream is set 2022-01-17 12:33:01 +02:00
vyzo
7bc4ce25f2 named scopes for better errors to aid debugging resource allocation failures 2022-01-17 12:33:01 +02:00
vyzo
a0dc35d9c6 update for reservation interface changes 2022-01-17 12:33:01 +02:00
vyzo
7ea1d27783 update for memory status indicator 2022-01-17 12:33:01 +02:00
vyzo
92edf5f224 update for interface changes 2022-01-17 12:33:01 +02:00
vyzo
bf44d21414 proper mutex hat 2022-01-17 12:33:01 +02:00
vyzo
aed2c69d3c unexport implementation types 2022-01-17 12:33:01 +02:00
vyzo
3973696b28 manage fds together with connss 2022-01-17 12:33:01 +02:00
vyzo
1d5f0c9ad2 update for interface changes; RIP buffers. 2022-01-17 12:33:01 +02:00
vyzo
c3b6ce61b7 resource manager test, fix bugz 2022-01-17 12:33:01 +02:00
vyzo
79d15fa18c consolidate Rerve/ReleaseForChild in aggregate method 2022-01-17 12:33:01 +02:00
vyzo
6427759aab some cleanup for rcmgr scopes 2022-01-17 12:33:01 +02:00
vyzo
62105f3a71 consistent ref counting 2022-01-17 12:33:01 +02:00
vyzo
efe5e36d58 update implementation for interface changes 2022-01-17 12:33:01 +02:00
vyzo
a42700a439 make connection/stream Done idempotent 2022-01-17 12:33:01 +02:00
vyzo
0b5b506b8c move ref counting to resource scopes 2022-01-17 12:33:01 +02:00
vyzo
71b70cd48b implement scope viewers 2022-01-17 12:33:01 +02:00
vyzo
3422b8cbde add ResourceManager constructor and peer/protocol scope gc 2022-01-17 12:33:01 +02:00
vyzo
cff880ac60 flesh out resource manager 2022-01-17 12:33:01 +02:00
vyzo
b85397384b only count fds if the connection actually uses an fd 2022-01-17 12:33:01 +02:00
vyzo
e07aba016b stream service cannot be set before peer 2022-01-17 12:33:01 +02:00
vyzo
39e351882b fix brainfart 2022-01-17 12:33:01 +02:00
vyzo
0ca5ac15d9 flesh out concrete scopes 2022-01-17 12:33:01 +02:00