HomeFreeBSD

Hyper_V: add a boot parameter to tlb flush hypercall

Description

Hyper_V: add a boot parameter to tlb flush hypercall

Add boot parameter hw.vmbus.tlb_hcall for tlb flush hypercall.
By default it is set to 1 to allow hyercall tlb flush. It can be
set to 0 in loader.conf to turn off hypercall and use system
provided tlb flush routine.

The change also changes flag in the per cpu contiguous memory
allocation to no wait to avoid panic happened some cases which there
are no enough contiguous memery available at boot time.

Reported by: gbe
Tested by: whu
MFC after: 1 week
Fixes: 2b887687edc25bb4553f0d8a1183f454a85d413d
Sponsored by: Microsoft

Details

Provenance
whuAuthored on Tue, Jun 11, 10:05 AM
Parents
rGf65d0b18d937: stress2: Replace rename() with arc4random()
Branches
Unknown
Tags
Unknown