Page MenuHomeFreeBSD

arm64/vmm: Move the vgic_max_cpu_count() check
ClosedPublic

Authored by markj on Nov 4 2025, 2:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 22 2025, 12:04 AM
Unknown Object (File)
Nov 22 2025, 12:04 AM
Unknown Object (File)
Nov 17 2025, 3:53 PM
Unknown Object (File)
Nov 16 2025, 5:42 PM
Unknown Object (File)
Nov 13 2025, 3:32 PM
Unknown Object (File)
Nov 6 2025, 4:41 AM
Unknown Object (File)
Nov 6 2025, 4:41 AM
Unknown Object (File)
Nov 6 2025, 4:41 AM
Subscribers

Details

Summary

vm_alloc_vcpu() is called quite frequently, and we don't need to apply
the vgic limit unless we're actually allocating a vcpu structure for the
first time.

No functional change intended.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable