mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:07:44 +00:00
Kernel: Split InodeVMObject into two subclasses
We now have PrivateInodeVMObject and SharedInodeVMObject, corresponding to MAP_PRIVATE and MAP_SHARED respectively. Note that PrivateInodeVMObject is not used yet.
This commit is contained in:
parent
07a26aece3
commit
651417a085
9 changed files with 371 additions and 166 deletions
|
@ -452,7 +452,7 @@ PageFaultResponse Region::handle_inode_fault(size_t page_index_in_region)
|
|||
LOCKER(vmobject().m_paging_lock);
|
||||
cli();
|
||||
|
||||
auto& inode_vmobject = static_cast<SharedInodeVMObject&>(vmobject());
|
||||
auto& inode_vmobject = static_cast<InodeVMObject&>(vmobject());
|
||||
auto& vmobject_physical_page_entry = inode_vmobject.physical_pages()[first_page_index() + page_index_in_region];
|
||||
|
||||
#ifdef PAGE_FAULT_DEBUG
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue