HomeFreeBSD

Hyper-V: move memory alloc call for tlb hypercall out of smp_rendezvous

Description

Hyper-V: move memory alloc call for tlb hypercall out of smp_rendezvous

The allocation call could result in sleep lock violation if it is in
smp_rendezvous. Move it out. Also move the pcpu memory pointer to
vmbus_pcpu_data since it is only used on Hyper-V.

PR: 279738
Reported by: gbe
Fixes: 2b887687edc25bb4553f0d8a1183f454a85d413d
MFC after: 2 weeks
Sponsored by: Microsoft

(cherry picked from commit d0cb4674df97aa638d5d17861c364b1625f79401)

Details

Provenance
whuAuthored on Jun 15 2024, 2:07 PM
Parents
rG451941677aba: Hyper_V: add a boot parameter to tlb flush hypercall
Branches
Unknown
Tags
Unknown