Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1532054

[PATCH v2 0/3] kdb: Fix locking in vkdb_printf()

From Petr Mladek <pmladek@suse.com>
Newsgroups linux.kernel
Subject [PATCH v2 0/3] kdb: Fix locking in vkdb_printf()
Date 2016-11-29 10:50 +0100
Message-ID <sIN3j-6FC-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH v2 0/3] kdb: Fix locking in vkdb_printf() Petr Mladek <pmladek@suse.com> - 2016-11-29 10:50 +0100

csiph-web