Skip to content

kdb: Don't implicitly change tasks; plus misc fixups

Douglas Anderson linux-mips lkml 1 version Applied

Status from this message: [merged] kdb-get-rid-of-confusing-diag-msg-from-rd-if-current-task-has-no-regs.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 6 repliesApplied 5/5

Patches in v1 All 5 applied

#Subject and filesSizeRepliesApplied
1/5MIPS: kdb: Remove old workaround for backtracing on other CPUsarch/mips/kernel/traps.c+0 -53 repliesApplied
2/5kdb: kdb_current_regs should be privateinclude/linux/kdb.h kernel/debug/kdb/kdb_private.h+1 -20 repliesApplied
3/5kdb: kdb_current_task shouldn't be exportedkernel/debug/kdb/kdb_main.c+0 -10 repliesApplied
4/5kdb: Gid rid of implicit setting of the current task / regskernel/debug/kdb/kdb_bt.c kernel/debug/kdb/kdb_main.c kernel/debug/kdb/kdb_private.h+2 -90 repliesApplied
5/5kdb: Get rid of confusing diag msg from "rd" if current task has no regskernel/debug/kdb/kdb_main.c+13 -150 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] kdb: Don't implicitly change tasks; plus misc fixups

This started out as just a follow-up to Daniel's post [1]. I wanted to stop implicitly changing the current task in kdb. ...but, of course, everywhere you look in kdb there are things to cleanup, so this gets a few misc cleanups I found along the way. Enjoy.

[1] https://lore.kernel.org/r/[email protected]

Douglas Anderson (5):
MIPS: kdb: Remove old workaround for backtracing on other CPUs
kdb: kdb_current_regs should be private
kdb: kdb_current_task shouldn't be exported
kdb: Gid rid of implicit setting of the current task / regs
kdb: Get rid of confusing diag msg from "rd" if current task has no
regs

 arch/mips/kernel/traps.c       |  5 -----
 include/linux/kdb.h            |  2 --
 kernel/debug/kdb/kdb_bt.c      |  8 +-------
 kernel/debug/kdb/kdb_main.c    | 31 ++++++++++++++-----------------
 kernel/debug/kdb/kdb_private.h |  2 +-
 5 files changed, 16 insertions(+), 32 deletions(-)
Signature · 1 line
2.24.0.432.g9d3f5f5b63-goog