mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-09 04:15:52 +00:00
File system: Let session quota depend on word size
By basing the session quota on sizeof(long), we satisfy server-side quota demands on 64 bit. Fixes #619
This commit is contained in:
parent
d76babf260
commit
5d65308e63
@ -35,7 +35,7 @@ namespace File_system {
|
||||
:
|
||||
Genode::Connection<Session>(
|
||||
session("ram_quota=%zd, tx_buf_size=%zd, label=\"%s\"",
|
||||
4*4096 + tx_buf_size, tx_buf_size, label)),
|
||||
4*1024*sizeof(long) + tx_buf_size, tx_buf_size, label)),
|
||||
Session_client(cap(), tx_block_alloc) { }
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user