aboutsummaryrefslogtreecommitdiffstats
path: root/tools/memshr
diff options
context:
space:
mode:
authorAndres Lagar-Cavilla <andres@lagarcavilla.org>2012-02-10 16:07:07 +0000
committerAndres Lagar-Cavilla <andres@lagarcavilla.org>2012-02-10 16:07:07 +0000
commit2da4c17b3b76d190da3dda35aa24910ff69984e5 (patch)
treeb101588084637ea1a07786224096b45613e6afa0 /tools/memshr
parentbb9e2139bca549fb8fd52c6fef4054b3ebf9ff3e (diff)
downloadxen-2da4c17b3b76d190da3dda35aa24910ff69984e5.tar.gz
xen-2da4c17b3b76d190da3dda35aa24910ff69984e5.tar.bz2
xen-2da4c17b3b76d190da3dda35aa24910ff69984e5.zip
x86/mm: When removing/adding a page from/to the physmap, keep in mind it could be shared
When removing the m2p mapping it is unconditionally set to invalid, which breaks sharing. When adding to the physmap, if the previous holder of that entry is a shared page, we unshare to default to normal case handling. And, we cannot add a shared page directly to the physmap. Proper interfaces must be employed, otherwise book-keeping goes awry. Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org> Acked-by: Tim Deegan <tim@xen.org> Committed-by: Tim Deegan <tim@xen.org>
Diffstat (limited to 'tools/memshr')
0 files changed, 0 insertions, 0 deletions