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)
Mon, Nov 11, 2:13 AM
Unknown Object (File)
Fri, Oct 25, 9:41 AM
Unknown Object (File)
Fri, Oct 25, 9:39 AM
Unknown Object (File)
Fri, Oct 25, 9:37 AM
Unknown Object (File)
Fri, Oct 25, 9:35 AM
Unknown Object (File)
Wed, Oct 16, 12:28 PM
Unknown Object (File)
Oct 7 2024, 11:41 AM
Unknown Object (File)
Oct 2 2024, 5:59 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

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

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

sys/amd64/include/_pmap.h
1

Missing a license header.

4

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
4

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