From e5f26fa8db78184d2392d64b8736bf65effaa821 Mon Sep 17 00:00:00 2001 From: Adrian-Ken Rueegsegger Date: Thu, 19 Mar 2015 12:26:14 +0100 Subject: [PATCH] base: Raise RAM quota of signal session to 16K On base-hw/x86_64 the quota of the signal session is not sufficient due to the large size of the Signal_session_component. Increasing the quota to 16K avoids signal-context resource exhaustion messages as emmitted by the run/launcher scenario: ... Quota exceeded! amount=4096, size=4096, consumed=4096 failed to allocate signal-context resources upgrading quota donation for signal session C++ runtime: Genode::Parent::Quota_exceeded void* abort(): abort called ... Note: This change increases the quota for all kernels even though it is strictly only required for base-hw/x86_64. --- repos/base/include/signal_session/connection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repos/base/include/signal_session/connection.h b/repos/base/include/signal_session/connection.h index 5396493a2..984759a6a 100644 --- a/repos/base/include/signal_session/connection.h +++ b/repos/base/include/signal_session/connection.h @@ -24,7 +24,7 @@ struct Genode::Signal_connection : Connection, Signal_session_cl { Signal_connection() : - Connection(session("ram_quota=12K")), + Connection(session("ram_quota=16K")), Signal_session_client(cap()) { } };