]> xenbits.xensource.com Git - xen.git/commit
x86/HAP: avoid using bogus/misleading locking
authorJan Beulich <jbeulich@suse.com>
Tue, 13 Jun 2017 08:38:02 +0000 (10:38 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 13 Jun 2017 08:38:02 +0000 (10:38 +0200)
commitc9ec0d34e462151d39e0e901b50501db4f6ae78d
tree6f28ad8deba5167795a488bbe9d87890d0e5b410
parent75dfe7c566c36e0af4714557a666827f49b69191
x86/HAP: avoid using bogus/misleading locking

hap_teardown() unconditionally releases the paging lock and is always
being called without the lock held: Lock acquire should then be
unconditional too.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/mm/hap/hap.c