[Slice] # Reclaim protection for the owner's graphical desktop. cinnamon, gnome-terminal-server # and every vte-spawn-*.scope live under app.slice; agent.slice and build.slice are # siblings, not children, so this reserve is invisible to agent work. # # MemoryMin is a floor, never a ceiling: it makes reclaim skip this branch while memory is # in use, and reserves nothing when the desktop is idle. Without it app.slice claims 0 of # the 8G reserved on user.slice / user-.slice / user@.service by # install-human-slice, so cgroup-v2 proportional distribution gives the desktop an # effective protection of zero and the compositor is reclaimed to swap under agent load. MemoryMin=4G