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)
Sat, Nov 22, 12:04 AM
Unknown Object (File)
Sat, Nov 22, 12:04 AM
Unknown Object (File)
Mon, Nov 17, 3:53 PM
Unknown Object (File)
Sun, Nov 16, 5:42 PM
Unknown Object (File)
Thu, Nov 13, 3:32 PM
Unknown Object (File)
Nov 6 2025, 4:41 AM
Unknown Object (File)
Nov 6 2025, 4:41 AM
Unknown Object (File)
Nov 6 2025, 4:41 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 Not Applicable
Unit
Tests Not Applicable