diff options
author | Ye Bin <yebin10@huawei.com> | 2025-04-21 09:29:47 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2025-05-09 17:30:20 +0300 |
commit | 7bb797757bf5720543f1c5115b40a8d646d5c1cc (patch) | |
tree | 39977f9c6ce5f63d23bcae77ccb8a61ec9d54580 /scripts/lib/kdoc/kdoc_output.py | |
parent | 83a39eccdf2f26024ce7699aefb7e439221d88af (diff) | |
download | linux-7bb797757bf5720543f1c5115b40a8d646d5c1cc.tar.xz |
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/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions