mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 22:23:16 +00:00
base: number of CPU components per slab block
On some platforms, only two CPU-thread component objects fit into on page-sized slab block. Issue #3834
This commit is contained in:
parent
0046edf761
commit
58dba227ce
@ -34,7 +34,7 @@ namespace Core {
|
||||
* We take the knowledge about the used backing-store allocator (sliced
|
||||
* heap) into account to make sure that slab blocks fill whole pages.
|
||||
*/
|
||||
typedef Tslab<Cpu_thread_component, get_page_size() - Sliced_heap::meta_data_size()>
|
||||
typedef Tslab<Cpu_thread_component, get_page_size() - Sliced_heap::meta_data_size(), 2>
|
||||
Cpu_thread_allocator;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user