mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08:00
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: 3e35d303ab
("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>
This commit is contained in:
parent
63ce5947ef
commit
f2eaed1565
@ -33,7 +33,7 @@ class aarch64_page_ops():
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.SUBSECTION_SHIFT = 21
|
self.SUBSECTION_SHIFT = 21
|
||||||
self.SEBSECTION_SIZE = 1 << self.SUBSECTION_SHIFT
|
self.SEBSECTION_SIZE = 1 << self.SUBSECTION_SHIFT
|
||||||
self.MODULES_VSIZE = 128 * 1024 * 1024
|
self.MODULES_VSIZE = 2 * 1024 * 1024 * 1024
|
||||||
|
|
||||||
if constants.LX_CONFIG_ARM64_64K_PAGES:
|
if constants.LX_CONFIG_ARM64_64K_PAGES:
|
||||||
self.SECTION_SIZE_BITS = 29
|
self.SECTION_SIZE_BITS = 29
|
||||||
|
Loading…
Reference in New Issue
Block a user