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
F162798031: D53580.id165823.diff
Fri, Jul 17, 12:37 AM
Unknown Object (File)
Wed, Jul 15, 6:53 AM
Unknown Object (File)
Wed, Jul 15, 6:53 AM
Unknown Object (File)
Mon, Jul 13, 2:17 PM
Unknown Object (File)
Sun, Jul 12, 4:34 AM
Unknown Object (File)
Sun, Jul 5, 5:47 AM
Unknown Object (File)
Sat, Jun 27, 5:00 AM
Unknown Object (File)
Mon, Jun 22, 10:14 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