lkml.org 
[lkml]   [2016]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] kdb: Fix locking in vkdb_printf()
Date
This patchset fixes some races that I noticed when looked
over the kdbd_printf() code. v2 is based on the feedback
from Daniel Thompson and Sergey Senozhatsky.

Changes agaist v1:

+ Completely remove kdb_event (Daniel)
+ Avoid using smp_processor_id() (Sergey)
+ Better describe the whole situation in 3rd patch (Daniel)

Petr Mladek (3):
kdb: Remove unused kdb_event handling
kdb: Properly synchronize vkdb_printf() calls with other CPUs
kdb: Call vkdb_printf() from vprintk_default() only when wanted

include/linux/kdb.h | 2 +-
kernel/debug/kdb/kdb_io.c | 37 +++++++++++++------------------------
kernel/debug/kdb/kdb_main.c | 1 -
kernel/debug/kdb/kdb_private.h | 1 -
kernel/printk/printk.c | 3 ++-
5 files changed, 16 insertions(+), 28 deletions(-)

--
1.8.5.6

\
 
 \ /
  Last update: 2016-11-29 10:41    [W:0.046 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site