Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Printk - Why Is It So Complicated

Linux Plumbers Conference via YouTube

Overview

Explore the complexities and challenges of the printk() function in Linux kernel development through this in-depth conference talk from the Linux Plumbers Conference. Dive into the history of printk(), understand the recent major rework, and examine unsolved issues like fully synchronous console writing. Learn about lockless ring buffers, memory barriers, and NMI-safe synchronization as speaker John Ogness from Linutronix GmbH discusses proposed solutions and future directions for this critical kernel component. Gain insights into the tug-of-war between different requirements, the implementation of ringbuffers and per-console kthreads, and the handling of emergency messages in this comprehensive exploration of printk()'s intricacies.

Syllabus

Intro
Requirements
A Brief History of printk
Open Issues
Main Issue: Tug-of-War
Ringbuffer (cpu-lock)
Per-Console kthreads
Atomic Consoles
Emergency Messages
Status (looking forward)

Taught by

Linux Plumbers Conference

Reviews

Start your review of Printk - Why Is It So Complicated

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.