Page MenuHomeFreeBSD

amd64 pmap: two trivial changes

Authored by kib on Oct 10 2022, 12:40 AM.
Referenced Files
F62004150: D36919.diff
Tue, May 30, 12:24 AM
Unknown Object (File)
Wed, May 3, 9:58 PM
Unknown Object (File)
Apr 7 2023, 10:15 AM
Unknown Object (File)
Feb 17 2023, 4:29 PM
Unknown Object (File)
Jan 9 2023, 4:19 AM
Unknown Object (File)
Jan 9 2023, 2:58 AM
Unknown Object (File)
Dec 26 2022, 4:18 AM
Unknown Object (File)
Dec 15 2022, 8:07 PM


add comment explaining why INVLPG is functional for PCID config
remove useless addr2 variables in page range invalidation handlers

Diff Detail

rG FreeBSD src repository
Lint Skipped
Tests Skipped

Event Timeline

kib requested review of this revision.Oct 10 2022, 12:40 AM
This revision is now accepted and ready to land.Oct 10 2022, 1:51 PM

I would suggest:

"When PCID is enabled, the INVLPG instruction invalidates all TLB entries for the given page that either match the current PCID or are global. Since TLB entries for the same page under different PCIDs are unaffected, kernel pages which reside in all address spaces could be problematic. We avoid ...

kib marked an inline comment as done.

Alan' wording

This revision now requires review to proceed.Oct 10 2022, 8:42 PM
This revision is now accepted and ready to land.Oct 10 2022, 9:30 PM