~/talk

Linux Kernel Control Group v2

Talkat DevConf.CZ 2019 · 2019-01-25..01-27· [linux-and-operating-systems]
links:none on file
slides:none on file

Explains that cgroup v2 replaces per-controller trees with a unified hierarchy so controllers can coordinate, and that controllers must be explicitly enabled per subtree via cgroup.subtree_control. Shows exact mechanics: move tasks by echoing PIDs into cgroup.procs, throttle CPU with the new cpu.max (quota/period in μs), and use delegation so unprivileged users can manage subtrees. Notes thread-vs-process semantics, a bypass mode to skip middle controllers, and that distributions still run v1 by default so v1/v2 coexist during migration.

AI-written summary · about

  1. 0:00Introduction
  2. 0:22What is Control Port
  3. 2:45Process Hierarchy
  4. 10:35Control Hierarchy
  5. 16:47Controllers
  6. 24:25Naming Convention
  7. 25:55Controller
  8. 30:53Bypass Mode
  9. 32:27Control Manager
  10. 35:04CPU Controller
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.