diff options
author | 2011-01-12 15:41:22 +0800 | |
---|---|---|
committer | 2011-03-17 13:08:26 -0300 | |
commit | 3cba41307a2b1344ab8c1b9f55202d1e9d7bf81b (patch) | |
tree | 87191d63557cc722906ceaec98a1f8f148cf1fcc /kernel/fork.c | |
parent | KVM: Add "exiting guest mode" state (diff) | |
download | wireguard-linux-3cba41307a2b1344ab8c1b9f55202d1e9d7bf81b.tar.xz wireguard-linux-3cba41307a2b1344ab8c1b9f55202d1e9d7bf81b.zip |
KVM: make make_all_cpus_request() lockless
Now, we have 'vcpu->mode' to judge whether need to send ipi to other
cpus, this way is very exact, so checking request bit is needless,
then we can drop the spinlock let it's collateral
Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions