mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/3] kdb: Fix locking in vkdb_printf()
@ 2016-11-29  9:37 Petr Mladek
  2016-11-29  9:37 ` [PATCH v2 1/3] kdb: Remove unused kdb_event handling Petr Mladek
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Petr Mladek @ 2016-11-29  9:37 UTC (permalink / raw)
  To: Jason Wessel
  Cc: Daniel Thompson, Peter Zijlstra, Andrew Morton,
	Sergey Senozhatsky, linux-kernel, Petr Mladek

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-11-29  9:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-29  9:37 [PATCH v2 0/3] kdb: Fix locking in vkdb_printf() Petr Mladek
2016-11-29  9:37 ` [PATCH v2 1/3] kdb: Remove unused kdb_event handling Petr Mladek
2016-11-29  9:37 ` [PATCH v2 2/3] kdb: Properly synchronize vkdb_printf() calls with other CPUs Petr Mladek
2016-11-29  9:37 ` [PATCH v2 3/3] kdb: Call vkdb_printf() from vprintk_default() only when wanted Petr Mladek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®