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
F162961432: D53580.id.diff
Sat, Jul 18, 5:48 PM
Unknown Object (File)
Fri, Jul 17, 11:35 PM
Unknown Object (File)
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
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