~/talk

What's New in the Linux Kernel... from Python

Talkat PyCon US 2025 · 2025-05-16..05-18· [python]
links:none on file
slides:none on file

Shows concrete, working examples: using Python's fcntl wrapper to call the kernel's fcreated_query (Linux 6.12) and get 1 or 0 for whether open with O_CREAT actually created the file, and using struct + ctypes to call the new binary proc maps API (proc_mmap_query, Linux 6.11), allocating a buffer, iterating VMAs, and decoding filenames. Notes needing a tiny C program to compute the ioctl constant and an alternate CFFI path; full code lives at github.com/jfft/pyon2025 and the second example runs (bugfixed on GitHub).

AI-written summary · about

  1. 0:00Introduction
  2. 0:25File creation query
  3. 1:43Advanced memory querying
  4. 28:30Further exploration
  5. 30:12Q&A and concluding remarks
~/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.