base: remove non-critical quota messages

In nested scenarios like driver_manager.run, the initial session quota
for IO_PORT, IO_PORT, and IRQ sessions is expectedly insufficient.
However, the condition is properly handled by re-attemping the request
with a slightly increased quota. Still, core prints a warning each time
the request is denied for quota reasons, which spams the log. This patch
removes the non-critical message.
This commit is contained in:
Norman Feske 2017-09-06 15:49:36 +02:00 committed by Christian Helmuth
parent 040e331f77
commit 1d56c3d3aa
1 changed files with 1 additions and 5 deletions

View File

@ -142,12 +142,8 @@ class Genode::Root_component : public Rpc_object<Typed_root<SESSION_TYPE> >,
size_t needed = sizeof(SESSION_TYPE) + md_alloc()->overhead(sizeof(SESSION_TYPE));
if (needed > ram_quota.value) {
warning("insufficient ram quota "
"for ", SESSION_TYPE::service_name(), " session, "
"provided=", ram_quota, ", required=", needed);
if (needed > ram_quota.value)
throw Insufficient_ram_quota();
}
Ram_quota const remaining_ram_quota { ram_quota.value - needed };