]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
scripts/gdb/symbols: factor out pagination_off()
authorIlya Leoshkevich <iii@linux.ibm.com>
Thu, 15 May 2025 15:52:12 +0000 (17:52 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 21 May 2025 17:48:24 +0000 (10:48 -0700)
commite97c4a27cb9c4c06fdc6d0760d7ea031c98b58a5
treee03d425df1636aa789f6bf1b42140b66ba26dd3e
parent3545414f2590177a76f86c985130dc4824d3adc9
scripts/gdb/symbols: factor out pagination_off()

Move the code that turns off pagination into a separate function.  It will
be useful later in order to prevent hangs when loading symbols for kernel
image in physical memory during s390 early boot.

Link: https://lkml.kernel.org/r/20250515155811.114392-3-iii@linux.ibm.com
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Cc: Alexander Gordeev <agordeev@linux.ibm.com>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Kieran Bingham <kbingham@kernel.org>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/gdb/linux/symbols.py
scripts/gdb/linux/utils.py