mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
On non-ACPI i386 mp_ncpus is initialized at SI_SUB_CPU, and this
prevents us from creating UMA_ZONE_PCPU zones earlier. As bandaid shift initialization of counter(9) zone later. Reviewed by: kib Reported & tested by: Lytochkin Boris <lytboris gmail.com>
This commit is contained in:
parent
d22e3b024e
commit
8f779cc541
1 changed files with 1 additions and 1 deletions
|
|
@ -106,4 +106,4 @@ counter_startup(void)
|
|||
uint64_pcpu_zone = uma_zcreate("uint64 pcpu", sizeof(uint64_t),
|
||||
NULL, NULL, NULL, NULL, UMA_ALIGN_PTR, UMA_ZONE_PCPU);
|
||||
}
|
||||
SYSINIT(counter, SI_SUB_KMEM, SI_ORDER_ANY, counter_startup, NULL);
|
||||
SYSINIT(counter, SI_SUB_CPU, SI_ORDER_FOURTH, counter_startup, NULL);
|
||||
|
|
|
|||
Loading…
Reference in a new issue