Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/arch/m68k/m68k
Module Name: src
Committed By: thorpej
Date: Wed Nov 26 18:51:08 UTC 2025
Modified Files:
src/sys/arch/m68k/m68k: pmap_68k.c
Log Message:
Sprinkle ATC hits in a few more locations:
* pmap_pv_enter(), when page is already marked as CI: This one is required
for the same reason as the previous change was required.
* pmap_enter(): Also need an ATC hit in the case of a non-managed physical
address (demand-page-in of device mapping?)
* pmap_kenter_pa(): Add an ATC hit here after storing the PTE, but this is
really just over-caution, I think; we're not dealing with VA regsions
that would have been subject to a demand-page-in, so there should not
be any negative entries to worry about. Possible future optimization.
* pmap_zero_page(), pmap_copy_page(): Same situation as pmap_kenter_pa().
These addresses are even more tightly controlled, so this is probably
the first "probably uncessary ATC hit" that should be removed once this
implementation is shown to be stable across a variety of machines.
Add a comment in pmap_enter() for the case where an old mapping must be
removed before inserting the new one: since we're going to hit the ATC
after storing the new PTE, we can probably elide the ATC hit when removing
this mapping. Possible future optimization.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/m68k/m68k/pmap_68k.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index