Commit a2252278 authored by Zenghui Yu's avatar Zenghui Yu Committed by Yang Yingliang
Browse files

KVM: arm64: Only flush VM for the first and the last vcpu



euleros inclusion
category: bugfix

-------------------------------------------------

stage_flush_vm() can be pretty time-consuming if lots of stage-2 mappings
had been setup before booting secondary processors. Sidestep the heavy
D-cache maintenance operations on D05 *only*.

Signed-off-by: default avatarZenghui Yu <yuzenghui@huawei.com>
Reviewed-by: default avatarzhanghailiang <zhang.zhanghailiang@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent ae0237a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment