HomeFreeBSD

amd64: add a func pointer to tlb shootdown function

Description

amd64: add a func pointer to tlb shootdown function

Make the tlb shootdown function as a pointer. By default, it still
points to the system function smp_targeted_tlb_shootdown(). It allows
other implemenations to overwrite in the future.

Reviewed by: 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/D45174

(cherry picked from commit bec000c9c1ef409989685bb03ff0532907befb4a)

Details

Provenance
schakrabarti_microsoft.comAuthored on Jun 5 2024, 12:25 PM
whuCommitted on Jul 1 2024, 1:03 PM
Reviewer
kib
Differential Revision
D45174: TLB flush enlightment using Hyper-V hypercall
Parents
rG620a6a54bb7b: openssh: Fix pre-authentication remote code execution in sshd.
Branches
Unknown
Tags
Unknown