KVM: arm64: Slightly optimize flush_context()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Tue, 18 Apr 2023 21:47:37 +0000 (23:47 +0200)
committerMarc Zyngier <maz@kernel.org>
Thu, 20 Apr 2023 08:10:28 +0000 (09:10 +0100)
commit4be8ddb48b1b6c6067fb59c846b9c6e19d6efe14
tree83988e982d1f3e1d227ae8294e1449ba5946086a
parent197b6b60ae7bc51dd0814953c562833143b292aa
KVM: arm64: Slightly optimize flush_context()

bitmap_zero() is faster than bitmap_clear(), so use it to save a few
cycles.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/97bf2743f3a302b3066aced02218b9da60690dd3.1681854412.git.christophe.jaillet@wanadoo.fr
arch/arm64/kvm/vmid.c