Page MenuHomeFreeBSD

amd64: store pcids pmap data in pcpu zone
ClosedPublic

Authored by kib on May 1 2023, 11:53 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 4, 4:34 AM
Unknown Object (File)
Mar 11 2024, 12:14 AM
Unknown Object (File)
Mar 9 2024, 3:09 AM
Unknown Object (File)
Mar 9 2024, 3:08 AM
Unknown Object (File)
Mar 9 2024, 3:08 AM
Unknown Object (File)
Mar 9 2024, 2:51 AM
Unknown Object (File)
Mar 8 2024, 2:53 AM
Unknown Object (File)
Jan 20 2024, 4:54 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.May 1 2023, 11:53 AM
sys/amd64/amd64/pmap.c
2031

Or just (void *)(uintptr_t)offsetof(struct pcpu, pc_kpmap_store)?

sys/amd64/include/_pmap.h
2

Missing a license header.

5

Why "pcids" instead of "pcid"?

sys/amd64/include/pmap.h
542–543
kib marked 4 inline comments as done.May 1 2023, 2:48 PM
kib added inline comments.
sys/amd64/include/_pmap.h
5

I do not remember why did I named it with 's'. Included the rename into the series.

kib marked an inline comment as done.

Rename pmap_pcids to pmap_pcid.
Simplify kernel pmap pcpu pointer calculation.
Add license.

This revision is now accepted and ready to land.May 1 2023, 3:11 PM
sys/amd64/amd64/pmap.c
388–389
kib marked an inline comment as done.May 2 2023, 1:16 AM