Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

scripts/gdb: rework module VA range

After we enlarge the module VA range, we also change the module VA
range in gdb scripts.

Link: https://lkml.kernel.org/r/20240619074911.100434-3-kuan-ying.lee@canonical.com
Fixes: 3e35d303ab7d ("arm64: module: rework module VA range selection")
Signed-off-by: Kuan-Ying Lee <kuan-ying.lee@canonical.com>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Kieran Bingham <kbingham@kernel.org>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Kuan-Ying Lee and committed by
Andrew Morton
f2eaed15 63ce5947

+1 -1
+1 -1
scripts/gdb/linux/mm.py
··· 33 33 def __init__(self): 34 34 self.SUBSECTION_SHIFT = 21 35 35 self.SEBSECTION_SIZE = 1 << self.SUBSECTION_SHIFT 36 - self.MODULES_VSIZE = 128 * 1024 * 1024 36 + self.MODULES_VSIZE = 2 * 1024 * 1024 * 1024 37 37 38 38 if constants.LX_CONFIG_ARM64_64K_PAGES: 39 39 self.SECTION_SIZE_BITS = 29