hw: avoid upgrade need of 8192 in signal session

ref #912
This commit is contained in:
Martin Stein 2013-10-14 12:35:40 +02:00 committed by Norman Feske
parent b5c6f2c260
commit f88fd35f22
1 changed files with 16 additions and 3 deletions

View File

@ -31,8 +31,21 @@ namespace Genode
public:
enum {
RECEIVERS_SB_SIZE = 4096,
CONTEXTS_SB_SIZE = 4096,
/**
* Lastly a receivers SLAB size was 112. Additionally we have
* 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.
*/
RECEIVERS_SB_SIZE = 4032,
/**
* Lastly a contexts SLAB size was 112. Additionally we have
* 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.
*/
CONTEXTS_SB_SIZE = 4032,
};
private:
@ -59,7 +72,7 @@ namespace Genode
char _initial_contexts_sb [CONTEXTS_SB_SIZE];
/**
* Destruct receiver 'r'
* Destruct receiver 'r'
*/
void _destruct_receiver(Receiver * const r);