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

From: Douglas Anderson
Date: Sat Nov 09 2019 - 14:17:51 EST


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/20191010150735.dhrj3pbjgmjrdpwr@xxxxxxxxx


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(-)

--
2.24.0.432.g9d3f5f5b63-goog