whereis(1): Simplify code
Simplify the way we build paths.
Avoid decolonification of source paths.
Remove gnu directories and add non-tracked ones.
Fix a memory leak while here.
Approved by: ngie@
Differential Revision: https://reviews.freebsd.org/D59846
arm64 pmap: Eliminate redundant icache synchronization
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
vm_page: Replace PGA_EXECUTABLE with PGA_PMAP_PRIV1
At present, PGA_EXECUTABLE is only used by the powerpc mmu_oea64 pmap.
The MI layer only accesses this flag to assert that it is clear when a
managed page is freed. Soon, we will need a similar, but not identical,
machine-dependent flag in the arm64 pmap. So, we rename this flag to
PGA_PMAP_PRIV1, simply saying that it is reserved for use by the pmap.
Each pmap can then define a name that best reflects its own meaning.
However, we still assert that this flag is clear when a managed page is
freed.
No functional change.
Reviewed by: kib, markj
Differential Revision: https://reviews.freebsd.org/D59995
Fix HTML validation errors in doc site footer
Replace the <h3> column titles with <p class=""column-title""> to stop
validation errors about skipped heading levels on every page, and add
aria-labelledby on each section so the titles are still exposed as
accessible names.
Restore the styling h3 previously received from the browser
(font-weight, line-height, padding) on .column-title so the footer
looks unchanged.
Mirrors the website fix in c33d966fc2.
Reviewed by: carlavilla
Approved by: carlavilla
Differential Revision: https://reviews.freebsd.org/D60040
PR: 297509
Website: Fix HTML validation errors
Remove the <a> wrapper around each <label> in the top-level menu,
which triggered HTML validation error on every documentation page.
Extend the .menu-item a rules to .menu-item-description so the label
keeps the same appearance and the sub-menu hover trigger still works.
Mirrors the website fix in a8654f311.
Reviewed by: carlavilla
Approved by: carlavilla
Differential Revision: https://reviews.freebsd.org/D60039
PR: 297509
games/bsdgames: Update 0.76 => 0.77
This release fixes segmentation faults after reloading a save game.
While here:
- Drop backported patches since they are in now upstream.
- Regenerate tetris patch with `make makepatch` (stage-qa).
Commit log:
https://github.com/pianojockl/bsdgames/compare/v0.76...v0.77
PR: 281947
Approved by: osa, vvd (Mentors, implicit)
MFH: 2026Q3
(cherry picked from commit 4b2ff5266c239dfe67c43f78df7838dd99da22cb)
games/bsdgames: Update 0.76 => 0.77
This release fixes segmentation faults after reloading a save game.
While here:
- Drop backported patches since they are in now upstream.
- Regenerate tetris patch with `make makepatch` (stage-qa).
Commit log:
https://github.com/pianojockl/bsdgames/compare/v0.76...v0.77
PR: 281947
Approved by: osa, vvd (Mentors, implicit)
MFH: 2026Q3
amd64: gate WRMSRNS immediate form on compiler support
This support was introduced in LLVM 20 and we still support releases
with LLVM 19 so it's too early to require LLVM 20. Decay to the
non-immediate form when the compiler it too old. This makes the ifunc
pointless, but limits the need for other ifdefs.
Reviewed by: kib
Sponsored by: Innovate UK
Differential Revision: https://reviews.freebsd.org/D60023