aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/objcopy/(developers-only)
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2026-09-25 05:11:43 +0000
committerAlan Cox <alc@FreeBSD.org>2026-09-26 15:40:45 +0000
commitce0268cc1ef4b93cdc142b3711d6400f5de4cdc2 (patch)
treec0244289fec6a75e2ca40f9e082060fca79f43e9 /usr.bin/objcopy/(developers-only)
parentf29a09d977378fc8504bf284849fc0438ce29153 (diff)
arm64 pmap: Eliminate redundant icache synchronizationHEADmain
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 'usr.bin/objcopy/(developers-only)')
0 files changed, 0 insertions, 0 deletions