mirror of
https://github.com/justinian/jsix.git
synced 2025-12-09 16:04:32 -08:00
[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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user