[kernel] Get rid of page_manager

page_manager is dead - final uses replaced in vm_space (page_in and
clear). Removed the header and cpp, and other lingering references.
This commit is contained in:
2020-09-20 16:16:23 -07:00
parent abe523be77
commit 113d14c440
15 changed files with 38 additions and 363 deletions

View File

@@ -51,7 +51,7 @@ vm_area::remove_from(vm_space *space)
if (space && base) {
for (auto &m : m_mappings)
if (m.state == state::mapped)
space->page_out(*base + m.offset, m.count);
space->clear(*base + m.offset, m.count);
m_procs.erase(space);
}
return j6_status_ok;
@@ -272,7 +272,7 @@ vm_area::unmap(uintptr_t offset, size_t count)
for (auto &it : m_procs) {
uintptr_t addr = it.val + offset;
vm_space *space = it.key;
space->page_out(addr, count);
space->clear(addr, count);
}
}