diff options
| author | Alan Cox <alc@FreeBSD.org> | 2026-09-25 05:11:43 +0000 |
|---|---|---|
| committer | Alan Cox <alc@FreeBSD.org> | 2026-09-26 15:40:45 +0000 |
| commit | ce0268cc1ef4b93cdc142b3711d6400f5de4cdc2 (patch) | |
| tree | c0244289fec6a75e2ca40f9e082060fca79f43e9 /packages/games/Makefile | |
| parent | f29a09d977378fc8504bf284849fc0438ce29153 (diff) | |
Creating an executable user-space mapping to write-back memory
synchronizes the icache with the page's contents, whether or not those
contents have changed since the previous synchronization. Use the pmap
private page flag PGA_ICACHE_SYNCED to record that the icache has been
synchronized with a managed page's contents and that the page has no
writable mappings. When the flag is set, the creation of another
executable mapping to the page can skip the synchronization. The flag
is cleared when a writable mapping to the page is created, using a
single atomic operation that keeps PGA_WRITEABLE and PGA_ICACHE_SYNCED
from ever being simultaneously set, and when the page's last mapping is
destroyed.
Assisted-by: Claude Code (Fable 5.1)
Reviewed by: kib, markj
Differential Revision: https://reviews.freebsd.org/D59865
Diffstat (limited to 'packages/games/Makefile')
0 files changed, 0 insertions, 0 deletions
