~/talk

KSTATE as [de]serializer of kernel's state

Talkat Linux Plumbers Conference 2025 · 2025-12-11..12-13
links:none on file
slides:none on file

Proposal creates a common framework KSTATE to serialize kernel structs by describing preserved fields and storing field offsets so generic code can copy them out and back; on-disk binary has header, state ID, instance ID, data size and the field blobs. V3 on Alchemar exists as proof of concept; complex scattered state (MFD, address space, file structs) falls back to one blob. Design debates cover per-field versions, using integers vs strings for IDs, and a planned MFD port to validate the approach.

AI-written summary · about

  1. 0:00Introduction to KSTATE
  2. 1:04Framework for serializing kernel structs
  3. 3:18Current proof of concept and future plans
  4. 4:24Complex state structures like MFD
  5. 6:16Discussion on state ID types
  6. 8:26MFD state complexity and alternatives
  7. 10:35Instance ID design and generalization
  8. 13:13U64 vs string identifiers debate
~/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.