mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 06:07:59 +00:00
e5f26fa8db
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.
33 lines
751 B
C++
33 lines
751 B
C++
/*
|
|
* \brief Connection to signal service
|
|
* \author Norman Feske
|
|
* \date 2009-08-05
|
|
*/
|
|
|
|
/*
|
|
* Copyright (C) 2009-2013 Genode Labs GmbH
|
|
*
|
|
* This file is part of the Genode OS framework, which is distributed
|
|
* under the terms of the GNU General Public License version 2.
|
|
*/
|
|
|
|
#ifndef _INCLUDE__SIGNAL_SESSION__CONNECTION_H_
|
|
#define _INCLUDE__SIGNAL_SESSION__CONNECTION_H_
|
|
|
|
#include <signal_session/client.h>
|
|
#include <base/connection.h>
|
|
|
|
namespace Genode { struct Signal_connection; }
|
|
|
|
|
|
struct Genode::Signal_connection : Connection<Signal_session>, Signal_session_client
|
|
{
|
|
Signal_connection()
|
|
:
|
|
Connection<Signal_session>(session("ram_quota=16K")),
|
|
Signal_session_client(cap())
|
|
{ }
|
|
};
|
|
|
|
#endif /* _INCLUDE__CAP_SESSION__CONNECTION_H_ */
|