]> xenbits.xensource.com Git - xen.git/commit
sync CPU state upon final domain destruction
authorJan Beulich <jbeulich@suse.com>
Thu, 23 Nov 2017 10:38:22 +0000 (11:38 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 23 Nov 2017 10:38:22 +0000 (11:38 +0100)
commit24246e1fb7496b830aca8a6a1fd3064ca1e3ebf9
tree7bf49f29875ab277dcf50d1944b904eeea59e20e
parentd2f86bf604698806d311cc251c1b66fbb752673c
sync CPU state upon final domain destruction

See the code comment being added for why we need this.

This is being placed here to balance between the desire to prevent
future similar issues (the risk of which would grow if it was put
further down the call stack, e.g. in vmx_vcpu_destroy()) and the
intention to limit the performance impact (otherwise it could also go
into rcu_do_batch(), paralleling the use in do_tasklet_work()).

Reported-by: Igor Druzhinin <igor.druzhinin@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Julien Grall <julien.grall@linaro.org>
xen/common/domain.c