HomeFreeBSD

amd64 pmap_pcid_alloc(): pass a pointer to struct pmap_pcid instead of cpuid

Description

amd64 pmap_pcid_alloc(): pass a pointer to struct pmap_pcid instead of cpuid

Cpuid is used to index the pmap->pm_pcids array only.

Reviewed by: markj
Tested by: pho
Sponsored by: The FreeBSD Foundation
Differential revision: https://reviews.freebsd.org/D39890

Details

Provenance
kibAuthored on May 1 2023, 11:35 AM
Reviewer
markj
Differential Revision
D39890: amd64: store pcids pmap data in pcpu zone
Parents
rG9e0143694ad3: amd64: add pmap_get_pcid() helper
Branches
Unknown
Tags
Unknown