mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-12 05:41:36 +00:00
sel4: reduce initial memory demand of PD session
This is a follow-up commit to "slab: throw exception if initial allocation fails". It is needed because on seL4, the PD session quota is used as backing store for the meta data of the PD's virtual memory. For this reason, PD sessions on seL4 require more session quota compared to the other kernels. Apparently, the default quota is too scarce to complete the PD-session construction. By shrinking the number of supported page-table entries, we reduce the size of the PD session component so that the creation succeeds. Issue #1983
This commit is contained in:
parent
868bf6c9d0
commit
ebdb1c6892
@ -165,7 +165,7 @@ class Genode::Page_table_registry
|
||||
};
|
||||
|
||||
Static_allocator<Page_table, 128> _page_table_alloc;
|
||||
Static_allocator<Page_table::Entry, 4096> _page_table_entry_alloc;
|
||||
Static_allocator<Page_table::Entry, 2048> _page_table_entry_alloc;
|
||||
|
||||
List<Page_table> _page_tables;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user