mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-18 23:28:29 +00:00
base: extend emergency dataspace size
The emergency dataspace is used to accommodate the corner case where a signal context capability is created while issuing the first resource request. Normally, the attempt to upgrade the signal-session quota under such a constrained situation would fail. By freeing the emergency dataspace in this situation, we regain enough quota to upgrade the signal session. This is a follow up commit for "base: Raise RAM quota of signal session to 16K" and fixes the resource_request test on 64-bit platforms.
This commit is contained in:
committed by
Christian Helmuth
parent
eaac3cc1bd
commit
ea9c2199e8
2
repos/base-linux/src/base/env/platform_env.h
vendored
2
repos/base-linux/src/base/env/platform_env.h
vendored
@ -412,7 +412,7 @@ namespace Genode {
|
||||
*
|
||||
* See the comment of '_fallback_sig_cap()' in 'env/env.cc'.
|
||||
*/
|
||||
constexpr static size_t _emergency_ram_size() { return 4*1024; }
|
||||
constexpr static size_t _emergency_ram_size() { return 8*1024; }
|
||||
Ram_dataspace_capability _emergency_ram_ds;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user