kdb: Fix locking in vkdb_printf()
Status from this message: [merged] kdb-call-vkdb_printf-from-vprintk_default-only-when-wanted.patch removed from -mm tree
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 0 repliesApplied 3/3
- v12 patches 8 repliesSuperseded
Patches in v2 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | kdb: Remove unused kdb_event handlinginclude/ kernel/ kernel/ | +0 | 0 replies | Applied |
| 2/3 | kdb: Properly synchronize vkdb_printf() calls with other CPUskernel/ kernel/ | +13 | 0 replies | Applied |
| 3/3 | kdb: Call vkdb_printf() from vprintk_default() only when wantedinclude/ kernel/ kernel/ | +5 | 0 replies | Applied |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Daniel Thompson |
|---|---|
| 1/3 | |
| 2/3 | R-b |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] kdb: Fix locking in vkdb_printf()
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(-)
Signature · 1 line
1.8.5.6