The kernel docs and man pages this subsystem encodes. Cite specific sections in the source when interpretation is non-obvious.
Kernel documentation
Documentation/admin-guide/cgroup-v2.rst— the canonical cgroup v2 reference. Source of truth for interface-file semantics, special values ("max", the"<quota> <period>"form ofcpu.max), delegation rules, controller availability.Documentation/admin-guide/cgroup-v1/— v1's docs, for context. We don't implement v1; reading this clarifies what v2 changed and why.
Man pages
cgroups(7)— overview; the v1 vs. v2 differences in particular.cgroup_namespaces(7)— theCLONE_NEWCGROUPnamespace, which isLinx.Process's concern, notLinx.Cgroup's. Useful when reasoning about which cgroup view a process sees inside a namespace.
Other touched-but-not-implemented surface
mount(2)— the cgroup2 filesystem is typically mounted by the init system at/sys/fs/cgroup; we don't mount it ourselves.Linx.Cgroup.supported?/0just checks whether it's already there.inotify(7)/fanotify(7)— would underpin a future event-monitoring API for files likememory.events. Deferred.
In-repo cross-references
Linx.Process— the checkpoint protocol thatLinx.Cgroup.add_process/2composes with.lib/linx/netlink/error.ex— pattern forLinx.Cgroup.Error's shape andExceptionimpl.