~/talk

UAPI testing with KUnit

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

Proposes building UAPI usertests as kernel userprogs that are embedded into the kernel image and executed under KUnit, reusing KUnit’s runner and preserving kselftests’ TAP output by nesting TAP inside KUnit. Uses nolibc so cross-arch binaries compile with the kernel toolchain, produces ~400 lines of glue, builds in ~1 minute and runs tests in ~1.5s. Works for single standalone test executables and can be modules; open issues include libgcc shims, multiple ABI support and complex multi-binary tests.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:44KUnit integration idea
  3. 3:32Embedding user space tests
  4. 6:04Implementation details
  5. 8:13Demo and results
  6. 9:37Current status and challenges
  7. 12:04Discussion with audience
  8. 19:12Conclusion and thanks
~/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.