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)
Mon, Apr 27, 5:39 PM
Unknown Object (File)
Mon, Apr 27, 3:45 PM
Unknown Object (File)
Sun, Apr 26, 8:25 AM
Unknown Object (File)
Sat, Apr 25, 8:28 AM
Unknown Object (File)
Sat, Apr 18, 1:21 PM
Unknown Object (File)
Thu, Apr 16, 10:44 AM
Unknown Object (File)
Fri, Apr 10, 12:35 PM
Unknown Object (File)
Tue, Apr 7, 6:19 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