Changeset View
Changeset View
Standalone View
Standalone View
sys/arm64/include/pcpu_aux.h
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | |||||
#endif | #endif | ||||
/* | /* | ||||
* To minimize memory waste in per-cpu UMA zones, the page size should | * To minimize memory waste in per-cpu UMA zones, the page size should | ||||
* be a multiple of the size of struct pcpu. | * be a multiple of the size of struct pcpu. | ||||
*/ | */ | ||||
_Static_assert(PAGE_SIZE % sizeof(struct pcpu) == 0, "fix pcpu size"); | _Static_assert(PAGE_SIZE % sizeof(struct pcpu) == 0, "fix pcpu size"); | ||||
extern struct pcpu __pcpu[]; | extern struct pcpu pcpu0; | ||||
#endif /* _MACHINE_PCPU_AUX_H_ */ | #endif /* _MACHINE_PCPU_AUX_H_ */ |