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)
Wed, Jun 17, 2:21 AM
Unknown Object (File)
Fri, Jun 12, 10:32 AM
Unknown Object (File)
Tue, May 26, 5:16 AM
Unknown Object (File)
May 21 2026, 2:57 AM
Unknown Object (File)
May 13 2026, 5:55 PM
Unknown Object (File)
May 13 2026, 5:55 PM
Unknown Object (File)
May 13 2026, 5:54 PM
Unknown Object (File)
May 13 2026, 5:54 PM
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