Files
trail-mate/platform/linux/common
Trail Mate Dev f64509de02 fix: include worker allocator arenas in capture memory admission
GPIO initialization occurs on the capture worker, whose allocator arena is
a private anonymous mapping rather than the main process heap. Include
readable private writable anonymous mappings in the existing bounded
admission, while retaining the current-stack window and 48-MiB ceiling.

Run the map-node residency regression inside a real worker thread. This
fails even with main-heap locking and passes with anonymous arena locking.

Validation: worker-thread capture memory regression passed; clang-format14
and staged diff checks passed. GitNexus change analysis was run but this
inline class is absent from the index; direct source diff remains limited
to capture memory admission and its regression.
2026-11-02 09:46:31 +08:00
..
2026-05-12 01:24:04 +08:00

platform/linux/common

Shared Linux-safe code used by both the desktop simulator and the Pi OS device shell.

This layer is the neutral meeting point for:

  • tiny render primitives
  • simulator/device-agnostic app behavior
  • Linux-safe surface presentation contracts
  • Linux implementations of shared platform::ui::* runtime contracts such as settings, time, screen timeout, and generic device state
  • SQLite-backed Linux runtime state shared by simulator/device/uConsole shells
  • Linux map tile cache plumbing for online fetch plus local XYZ file cache
  • the shared Linux boot/menu shell session used by both the simulator and the thin framebuffer device shell

Code should move here only when it is genuinely shared between apps/linux_sim and apps/linux_rpi.