HomeFreeBSD

Hyper-V: TLB flush enlightment using hypercall

Description

Hyper-V: TLB flush enlightment using hypercall

Currently FreeBSD uses IPI based TLB flushing for remote
TLB flushing. Hyper-V allows hypercalls to flush local and
remote TLB. The use of Hyper-V hypercalls gives significant
performance improvement in TLB operations.

This patch set during test has shown near to 40 percent
TLB performance improvement.

Also this patch adds rep hypercall implementation as well.

Reviewed by: whu, kib
Tested by: whu
Authored-by: Souradeep Chakrabarti <schakrabarti@microsoft.com>
Co-Authored-by: Erni Sri Satya Vennela <ernis@microsoft.com>
MFC after: 1 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D45521

(cherry picked from commit 2b887687edc25bb4553f0d8a1183f454a85d413d)

Details

Provenance
schakrabarti_microsoft.comAuthored on Jun 7 2024, 7:56 AM
whuCommitted on Jul 1 2024, 1:21 PM
Reviewer
whu
Differential Revision
D45521: TLB flush enhancement using hypercall in Hyper-V
Parents
rG7a3d7aec415e: pmap: move the smp_targeted_tlb_shutdown pointer stuff to amd64 pmap.h
Branches
Unknown
Tags
Unknown