Messages in this thread | | | From | Petr Mladek <> | Subject | [PATCH v2 0/3] kdb: Fix locking in vkdb_printf() | Date | Tue, 29 Nov 2016 10:37:53 +0100 |
| |
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
| |