projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b441141
)
x86/PoD: HVM guests can't pin their pages
author
Jan Beulich
<jbeulich@suse.com>
Mon, 6 Dec 2021 13:12:09 +0000
(14:12 +0100)
committer
Jan Beulich
<jbeulich@suse.com>
Mon, 6 Dec 2021 13:12:09 +0000
(14:12 +0100)
Pinning is a PV concept, used there only for page table pages.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/mm/p2m-pod.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/mm/p2m-pod.c
b/xen/arch/x86/mm/p2m-pod.c
index d8d1a0ce7ed7814ee7feb01950d8cc86fda77519..9c4c0caccb670de24257bd844e7dabc350c32777 100644
(file)
--- a/
xen/arch/x86/mm/p2m-pod.c
+++ b/
xen/arch/x86/mm/p2m-pod.c
@@
-271,9
+271,6
@@
p2m_pod_set_cache_target(struct p2m_domain *p2m, unsigned long pod_target, int p
goto out;
}
- if ( test_and_clear_bit(_PGT_pinned, &(page+i)->u.inuse.type_info) )
- put_page_and_type(page + i);
-
put_page_alloc_ref(page + i);
put_page(page + i);