-
- Downloads
mmu: pass fault type and shared status to fd->get_page() return cow status
File page allocator needs to know fault type (read/write) and mapping
type (shared/private) to handle page allocation correctly. It also needs
a way to communicate to a caller that some pages need to be mapped RO
for COW. This patch adds required functionality without using it yet.
Signed-off-by:
Gleb Natapov <gleb@cloudius-systems.com>
Showing
- core/mmu.cc 5 additions, 4 deletionscore/mmu.cc
- fs/vfs/vfs_fops.cc 1 addition, 1 deletionfs/vfs/vfs_fops.cc
- include/osv/file.h 1 addition, 1 deletioninclude/osv/file.h
- include/osv/mmu.hh 1 addition, 1 deletioninclude/osv/mmu.hh
- include/osv/vfs_file.hh 1 addition, 1 deletioninclude/osv/vfs_file.hh
Loading
Please register or sign in to comment