[lkml]   [2017]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[RFC][PATCHv3 0/5] printk: introduce printing kernel thread


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.

-- 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(-)


 \ /
  Last update: 2017-05-10 21:17    [W:0.117 / U:2.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site