[GIT PULL] kgdb changes for v5.16

From: Daniel Thompson
Date: Mon Nov 08 2021 - 06:05:42 EST


The following changes since commit e4e737bb5c170df6135a127739a9e6148ee3da82:

Linux 5.15-rc2 (2021-09-19 17:28:22 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux.git/ tags/kgdb-5.16-rc1

for you to fetch changes up to b77dbc86d60459b42ab375e4e23172e7245f2854:

kdb: Adopt scheduler's task classification (2021-11-03 17:21:37 +0000)

----------------------------------------------------------------
kgdb patches for 5.16

A single patch this cycle. We replace some open-coded routines to
classify task states with the scheduler's own function to do this.
Alongside the obvious benefits of removing funky code and aligning
more exactly with the scheduler's task classification, this also
fixes a long standing compiler warning by removing the open-coded
routines that generated the warning.

Signed-off-by: Daniel Thompson <daniel.thompson@xxxxxxxxxx>

----------------------------------------------------------------
Daniel Thompson (1):
kdb: Adopt scheduler's task classification

kernel/debug/kdb/kdb_bt.c | 16 +++---
kernel/debug/kdb/kdb_main.c | 37 ++++++-------
kernel/debug/kdb/kdb_private.h | 4 +-
kernel/debug/kdb/kdb_support.c | 118 +++++++++--------------------------------
4 files changed, 53 insertions(+), 122 deletions(-)