HomeFreeBSD

Do proper ASID management for guest vcpus.

Description

Do proper ASID management for guest vcpus.

Prior to this change an ASID was hard allocated to a guest and shared by all
its vcpus. The meant that the number of VMs that could be created was limited
to the number of ASIDs supported by the CPU. It was also inefficient because
it forced a TLB flush on every VMRUN.

With this change the number of guests that can be created is independent of
the number of available ASIDs. Also, the TLB is flushed only when a new ASID
is allocated.

Discussed with: grehan
Reviewed by: Anish Gupta (akgupt3@gmail.com)

Details

Provenance
neelAuthored on
Parents
rS271202: When registering an association between a device and an xref phandle, create
Branches
Unknown
Tags
Unknown

Event Timeline