Skip to content
Snippets Groups Projects
Commit dfb7b624 authored by Gleb Natapov's avatar Gleb Natapov
Browse files

mmu: mark COW ptes to skip them during protection changes


Write permission should not be granted to ptes that has no write
permission because they are COW, but currently there is no way to
distinguish between write protection due to vma permission and write
protection due to COW. Use bit reserved for software use in pte as a
marker for COW ptes and check it during permission changes.

Signed-off-by: default avatarGleb Natapov <gleb@cloudius-systems.com>
parent 17330251
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