Norman Feske 6f1d3862cd base: introduce Env::try_session
The new 'Env::try_session' method mirrors the existing 'Env::session'
without implicitly handling exceptions of the types 'Out_of_ram',
'Out_of_caps', 'Insufficient_ram_quota', and 'Insufficient_cap_quota'.
It enables runtime environments like init to reflect those exceptions to
their children instead of paying the costs of implicit session-quota
upgrades out of the own pocket.

By changing the 'Parent_service' to use 'try_session', this patch fixes
a resource-exhaustion problem of init in Sculpt OS that occurred when
the GPU multiplexer created a large batch of IO_MEM sessions, with each
session requiring a second attempt with the session quota upgraded by
4 KiB.

Issue #3767
2021-10-14 11:02:12 +02:00
..
2020-12-09 14:02:11 +01:00
2020-05-18 10:16:12 +02:00
2020-04-17 12:40:12 +02:00
2021-10-14 11:02:12 +02:00
2020-02-20 12:11:22 +01:00
2020-04-17 12:40:12 +02:00
2020-07-30 08:49:23 +02:00
2020-07-30 08:49:23 +02:00
2020-04-17 12:40:12 +02:00
2019-02-26 14:44:15 +01:00
2020-04-17 12:40:12 +02:00
2021-10-14 11:02:12 +02:00
2021-02-23 12:02:44 +01:00
2020-04-17 12:40:12 +02:00
2020-04-17 12:40:12 +02:00
2019-02-26 14:44:15 +01:00
2021-02-23 12:07:17 +01:00
2020-04-17 12:40:12 +02:00