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
F149474530: D53580.diff
Tue, Mar 24, 5:04 PM
Unknown Object (File)
Tue, Mar 24, 12:47 PM
Unknown Object (File)
Mon, Mar 23, 10:53 PM
Unknown Object (File)
Sat, Mar 14, 1:22 PM
Unknown Object (File)
Fri, Mar 13, 8:07 PM
Unknown Object (File)
Fri, Mar 13, 4:37 PM
Unknown Object (File)
Fri, Mar 13, 11:55 AM
Unknown Object (File)
Tue, Mar 3, 7:17 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 68408
Build 65291: arc lint + arc unit