Files
mesh-host/testdata/beside/mesh-catalog/modules/kernel/files/mesh-kernel-huge-pages.service
T
jschoubben d68e241724 Take the catalogue's composition rules into the node-engine
ADR 0593 §7: the composer with its refusals leaves mesh-sdk, so mesh-sdk
carries no composition rule. The catalogue functions only the
node-engine's composition reaches (Resolve, Resolution's Compose,
Declaration, DataItems, LeftOut, Rules and the rest, the settings,
placeholder and template refusals, the rendering helpers) are copied
with their tests into internal/compose/resolution; a method of a
mesh-sdk shape becomes a function taking it first. The composition
calls its own copies, and the captured catalogue its tests read lives
here now, shared by mesh-compose's tests.

Claude-Session: https://claude.ai/code/session_01NcbgfJ9Gum47zkFKWRaovL
2026-11-02 19:15:55 +01:00

26 lines
894 B
Desktop File

[Unit]
Description=Transparent huge pages as the mesh sets them on this machine
# Module kernel, novox/hq issue 746. Starting this unit sets the mode from the setting
# transparent-huge-pages; reloading it (the setting changed) sets the new mode; stopping it gives back the
# mode the machine had before. It runs early in boot, before the services that fill the page cache.
DefaultDependencies=no
After=local-fs.target
Before=sysinit.target shutdown.target
Conflicts=shutdown.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=${dir:state}/huge-pages apply
ExecReload=${dir:state}/huge-pages apply
ExecStop=${dir:state}/huge-pages restore
# It writes one file under /sys and its own state, and asks the journal daemon to rotate over its socket.
ProtectSystem=strict
ReadWritePaths=${dir:state}
ProtectHome=yes
PrivateNetwork=yes
NoNewPrivileges=yes
[Install]
WantedBy=sysinit.target