Document reclaiming RAM by moving the image to swap

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2026-03-17 17:43:01 -06:00
parent efcd042131
commit 1fd8b65ebf
4 changed files with 228 additions and 0 deletions

View File

@@ -251,6 +251,11 @@ argument:
By default this is set to 50% of physical RAM. Note that tmpfs is required for
SELinux overlays since initramfs cannot preserve SELinux contexts.
Because the root is ``tmpfs``, the kernel can also swap cold image pages to a
local swap device, freeing RAM for running workloads. This does not apply to the
default ``initramfs`` root (single-stage boot), where pages are pinned in memory
and cannot be swapped. See :ref:`swap-and-image-memory` for a complete walkthrough.
.. note::
On some systems, it may also be necessary to include the ``noefi`` kernel