aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/kernel/fork.c
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>2011-01-12 15:41:22 +0800
committerMarcelo Tosatti <mtosatti@redhat.com>2011-03-17 13:08:26 -0300
commit3cba41307a2b1344ab8c1b9f55202d1e9d7bf81b (patch)
tree87191d63557cc722906ceaec98a1f8f148cf1fcc /kernel/fork.c
parentKVM: Add "exiting guest mode" state (diff)
downloadwireguard-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