diff options
author | 2025-04-21 14:29:47 +0800 | |
---|---|---|
committer | 2025-05-09 15:30:20 +0100 | |
commit | 7bb797757bf5720543f1c5115b40a8d646d5c1cc (patch) | |
tree | 39977f9c6ce5f63d23bcae77ccb8a61ec9d54580 /scripts/gdb/linux/utils.py | |
parent | arm64: Extend pr_crit message on invalid FDT (diff) | |
download | wireguard-linux-7bb797757bf5720543f1c5115b40a8d646d5c1cc.tar.xz wireguard-linux-7bb797757bf5720543f1c5115b40a8d646d5c1cc.zip |
arm64/cpuinfo: only show one cpu's info in c_show()
Currently, when ARM64 displays CPU information, every call to c_show()
assembles all CPU information. However, as the number of CPUs increases,
this can lead to insufficient buffer space due to excessive assembly in
a single call, causing repeated expansion and multiple calls to c_show().
To prevent this invalid c_show() call, only one CPU's information is
assembled each time c_show() is called.
Signed-off-by: Ye Bin <yebin10@huawei.com>
Link: https://lore.kernel.org/r/20250421062947.4072855-1-yebin@huaweicloud.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions