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: Tue Nov 24 21:30:20 UTC 2026
Modified Files:
src/sys/arch/m68k/m68k: pmap_68k.c
Log Message:
- Always track our lev1pa and only set the %urp if it's actually changed,
thus saving a user ATC invalidation if we switch back to the same
pmap. Instrumentation shows this happens about 50% of the time during
an ATF run.
- Loosen some overly strict KASSERT-ions that fired during an ATF run,
but put assertions around *those* edge cases.
- Track if an ATC invalidation was due to an "enter", a "remove",
a "protection", or a "cache status change".
- In pmap_remove_all(), we can use the regular pmap garbage-collection
scheme, because uvmspace_exec() follows the pmap_remove_all() call
with a pmap_update() call.
- In pmap_destroy(), perform a pmap_update() before actually destroying
the pmap when the last reference is dropped. This is because
uvmspace_free() calls pmap_remove_all() without following with a
pmap_update(). This is a perfectly reasonable optimization for
uvmspace_free() to do, but yah, we need to take care of it ourselves.
To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 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