]> Git Repo - qemu.git/commit
s390x/kvm: run guest triggered resets on the target vcpu thread
authorDavid Hildenbrand <[email protected]>
Thu, 28 Aug 2014 11:58:49 +0000 (13:58 +0200)
committerChristian Borntraeger <[email protected]>
Mon, 1 Sep 2014 07:23:02 +0000 (09:23 +0200)
commit85ca3371f6f5284d54202aec091e7cb3a49e5135
treea293cda663b5eebd4a92006f92a0944f73f49ccd
parent8b3030114a449e66c68450acaac4b66f26d91416
s390x/kvm: run guest triggered resets on the target vcpu thread

Currently, load_normal_reset() and modified_clear_reset() as triggered
by a guest vcpu will initiate cpu resets on the current vcpu thread for
all cpus. The reset should happen on the individual vcpu thread
instead, so let's use run_on_cpu() for this.

This avoids calls to synchronize_rcu() in the kernel.

Reviewed-by: Cornelia Huck <[email protected]>
Acked-by: Christian Borntraeger <[email protected]>
Signed-off-by: David Hildenbrand <[email protected]>
Signed-off-by: Jens Freimann <[email protected]>
Signed-off-by: Christian Borntraeger <[email protected]>
target-s390x/cpu.h
target-s390x/misc_helper.c
This page took 0.023742 seconds and 4 git commands to generate.