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)
Thu, Sep 10, 12:57 PM
Unknown Object (File)
Mon, Sep 7, 12:47 AM
Unknown Object (File)
Sun, Sep 6, 12:44 PM
Unknown Object (File)
Sun, Sep 6, 2:57 AM
Unknown Object (File)
Fri, Sep 4, 1:09 AM
Unknown Object (File)
Tue, Sep 1, 11:02 PM
Unknown Object (File)
Sun, Aug 30, 11:17 PM
Unknown Object (File)
Thu, Aug 27, 4:43 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