HomeFreeBSD

MFC r351457 (by kib): amd64: rework PCPU allocation

Description

MFC r351457 (by kib): amd64: rework PCPU allocation

Move pcpu KVA out of .bss into dynamically allocated VA at
pmap_bootstrap(). This avoids demoting superpage mapping .data/.bss.
Also it makes possible to use pmap_qenter() for installation of
domain-local pcpu page on NUMA configs.

Refactor pcpu and IST initialization by moving it to helper functions.

Details

Provenance
mavAuthored on
Parents
rS354048: MFC 351434: Fix universe to include arm LINT kernel configs.
Branches
Unknown
Tags
Unknown