From 653e14b74f369e8a0d1886b1708629ec79d18900 Mon Sep 17 00:00:00 2001 From: Martin Stein Date: Fri, 15 Nov 2013 09:39:32 +0100 Subject: [PATCH] hw: adjust SIGNAL SLAB sizes to new conditions fix #950 --- base-hw/src/core/include/signal_session_component.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/base-hw/src/core/include/signal_session_component.h b/base-hw/src/core/include/signal_session_component.h index 71e94321ab..1ba9a4271b 100644 --- a/base-hw/src/core/include/signal_session_component.h +++ b/base-hw/src/core/include/signal_session_component.h @@ -32,20 +32,20 @@ namespace Genode enum { /** - * Lastly a receivers SLAB size was 112. Additionally we have + * Lastly Receiver::slab_size() was 112. Additionally we * have to take in account, that the backing store might add * its metadata and round up to next page size. So we choose - * 36 * 112 which mostly is save to end up in one page only. + * 35 * 112 which mostly is save to end up in one page only. */ - RECEIVERS_SB_SIZE = 4032, + RECEIVERS_SB_SIZE = 3920, /** - * Lastly a contexts SLAB size was 112. Additionally we have + * Lastly Context::slab_size() size was 124. Additionally we * have to take in account, that the backing store might add * its metadata and round up to next page size. So we choose - * 36 * 112 which mostly is save to end up in one page only. + * 32 * 124 which mostly is save to end up in one page only. */ - CONTEXTS_SB_SIZE = 4032, + CONTEXTS_SB_SIZE = 3968, }; private: