[kernel] Remove 'allowed' page table flag

The allowed flag was janky and easy to get lost when doing page table
manipulation. All allocation goes throug vm_area now, so 'allowed' can
be dropped.
This commit is contained in:
2020-09-27 16:06:25 -07:00
parent f7f8bb3f45
commit 2d44e8112b
5 changed files with 8 additions and 83 deletions

View File

@@ -91,7 +91,6 @@ vm_area_shared::commit(uintptr_t phys, uintptr_t offset, size_t count)
.phys = phys});
n = 1;
// Try to expand to abutting similar areas
if (o > 0 &&
m_mappings[o-1].end() == offset &&