mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 21:57:55 +00:00
cc58b11998
Instead of organizing page tables within slab blocks and allocating such blocks dynamically on demand, replace the page table allocator with a simple, static alternative. The new page table allocator is dimensioned at compile-time. When a PD runs out of page-tables, we simply flush its current mappings, and re-use the freed tables. The only exception is core/kernel that should not produce any page faults. Thereby it has to be ensured that core has enough page tables to populate it's virtual memory. A positive side-effect of this static approach is that the accounting of memory used for page-tables is now possible again. In the dynamic case there was no protocol existent that solved the problem of donating memory to core during a page fault. Fix #1588 |
||
---|---|---|
.. | ||
doc | ||
include | ||
lib | ||
mk | ||
run | ||
src |