diff options
| author | Kunwu Chan <kunwu.chan@gmail.com> | 2026-06-12 10:34:12 +0800 |
|---|---|---|
| committer | Paul E. McKenney <paulmck@kernel.org> | 2026-07-23 10:47:10 -0700 |
| commit | 1384ea908e5de451061b50b4eb76c4440c4d4a0d (patch) | |
| tree | 90e431bdcb77de549fd092da649d3ae3a2c56b8b /scripts/patch-kernel | |
| parent | a13c140cc289c0b7b3770bce5b3ad42ab35074aa (diff) | |
| download | linux-1384ea908e5de451061b50b4eb76c4440c4d4a0d.tar.gz linux-1384ea908e5de451061b50b4eb76c4440c4d4a0d.zip | |
rcu: Use task_state_to_char() in stall-warning prints
RCU stall warnings currently print task states as raw hexadecimal
values, requiring developers to manually decode them.
Use task_state_to_char() so that stall warnings show the same symbolic
task-state representation used elsewhere in the kernel.
For example:
->state=0x402 becomes ->state=I
->state=0x0 becomes ->state=R
->state=0x2 becomes ->state=D
This improves readability while preserving the underlying diagnostic
information.
Suggested-by: Zqiang <qiang.zhang@linux.dev>
Co-developed-by: Wang Lian <lianux.mm@gmail.com>
Signed-off-by: Wang Lian <lianux.mm@gmail.com>
Signed-off-by: Kunwu Chan <kunwu.chan@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
