Skip to content
Snippets Groups Projects
Commit 54b1d4dc authored by Glauber Costa's avatar Glauber Costa Committed by Pekka Enberg
Browse files

mmu: give the jvm balloon write permissions


Up until now the JVM balloon explicitly forbade writes to its range, because
we didn't expect the JVM to ever write to it. But with the recently problem
Gleb discovered of double-copying of objects inside the Heap, we will use
writes to figure out when that object is no longer a balloon. But still,
we need to be able to go back to the JVM specific fault handler for that.

Therefore, we need write permissions in the VMA itself.

Signed-off-by: default avatarGlauber Costa <glommer@cloudius-systems.com>
[ penberg: use perm_rw as suggested by gleb ]
Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
parent 5d83b36d
No related branches found
No related tags found
No related merge requests found
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