Skip to content
Snippets Groups Projects
Commit 96adaad9 authored by Gleb Natapov's avatar Gleb Natapov Committed by Avi Kivity
Browse files

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: default avatarGleb Natapov <gleb@cloudius-systems.com>
parent ea17eedc
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment