Skip to content

printk: Remove lockdep_off() and wakeups

Peter Zijlstra linux-fbdev lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 27 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3printk: Release console_sem after logbuf_lockkernel/printk.c+5 -317 replies
2/3printk, lockdep: Remove lockdep_off() usagekernel/printk.c+3 -61 reply
3/3printk: Avoid all wakeups from printkkernel/printk.c+69 -719 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] printk: Remove lockdep_off() and wakeups

These three patches rework printk() to remove the lockdep_off() hackery and remove the need for printk() to do wakeups, which should make it much more reliable in various contexts.

The first patch is already in -tip, the others are not. Ingo reported some problems with #2, but I've been unable to reproduce so far.

The third patch has the semaphore trickery in and keeps it private to printk.c as per Thomas' request.

A kernel with all three applied and lockdep enabled seems to have no problem booting.