Hello,
RFC This patch set adds a printk() kernel thread which lets us to print kernel messages to the console from a non-atomic/schedule-able context, avoiding different sort of lockups, stalls, etc. A completely reworked version, for more details please see 0003 commit message and code comments/documentation. v2->v3 (Petr, Pavel, Andreas): -- rework offloading -- use PM notifiers -- dropped some patches, etc. etc. v1->v2: -- introduce printk_emergency mode and API to switch it on/off -- move printk_pending out of per-CPU memory -- add printk emergency_mode sysfs node -- switch sysrq handlers (some of them) to printk_emergency -- cleanus/etc. Sergey Senozhatsky (5): printk: move printk_pending out of per-cpu printk: introduce printing kernel thread printk: add enforce_emergency parameter printk: enable printk offloading printk: register PM notifier include/linux/console.h | 3 + kernel/printk/printk.c | 296 ++++++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 279 insertions(+), 20 deletions(-) -- 2.12.2