aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/domain.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2013-05-02 17:04:14 +0200
committerJan Beulich <jbeulich@suse.com>2013-05-02 17:04:14 +0200
commitb965b31a6bce8c37e67e525fae6da0e2f26d6b2e (patch)
tree919b6133d2a6e2a1ef52e22bdf1979fb47812043 /xen/arch/x86/domain.c
parentf6b533308cd8a776bbb947f6084efc63218ad28b (diff)
downloadxen-b965b31a6bce8c37e67e525fae6da0e2f26d6b2e.tar.gz
xen-b965b31a6bce8c37e67e525fae6da0e2f26d6b2e.tar.bz2
xen-b965b31a6bce8c37e67e525fae6da0e2f26d6b2e.zip
x86: cleanup after making various page table manipulation operations preemptible
This drops the "preemptible" parameters from various functions where now they can't (or shouldn't, validated by assertions) be run in non- preemptible mode anymore, to prove that manipulations of at least L3 and L4 page tables and page table entries are now always preemptible, i.e. the earlier patches actually fulfill their purpose of fixing the resulting security issue. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Tim Deegan <tim@xen.org>
Diffstat (limited to 'xen/arch/x86/domain.c')
-rw-r--r--xen/arch/x86/domain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/domain.c b/xen/arch/x86/domain.c
index 0baaa951af..db1e65dd26 100644
--- a/xen/arch/x86/domain.c
+++ b/xen/arch/x86/domain.c
@@ -1859,7 +1859,7 @@ static int relinquish_memory(
}
if ( test_and_clear_bit(_PGT_pinned, &page->u.inuse.type_info) )
- ret = put_page_and_type_preemptible(page, 1);
+ ret = put_page_and_type_preemptible(page);
switch ( ret )
{
case 0: