diff options
| author | 2026-06-12 10:34:12 +0800 | |
|---|---|---|
| committer | 2026-07-23 10:47:10 -0700 | |
| commit | 1384ea908e5de451061b50b4eb76c4440c4d4a0d (patch) | |
| tree | 90e431bdcb77de549fd092da649d3ae3a2c56b8b /scripts/Makefile.thinlto | |
| parent | Linux 7.2-rc3 (diff) | |
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/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
