We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8c7dd1 commit 63ce594Copy full SHA for 63ce594
scripts/gdb/linux/mm.py
@@ -59,9 +59,9 @@ def __init__(self):
59
if str(constants.LX_CONFIG_ARCH_FORCE_MAX_ORDER).isdigit():
60
self.MAX_ORDER = constants.LX_CONFIG_ARCH_FORCE_MAX_ORDER
61
else:
62
- self.MAX_ORDER = 11
+ self.MAX_ORDER = 10
63
64
- self.MAX_ORDER_NR_PAGES = 1 << (self.MAX_ORDER - 1)
+ self.MAX_ORDER_NR_PAGES = 1 << (self.MAX_ORDER)
65
self.PFN_SECTION_SHIFT = self.SECTION_SIZE_BITS - self.PAGE_SHIFT
66
self.NR_MEM_SECTIONS = 1 << self.SECTIONS_SHIFT
67
self.PAGES_PER_SECTION = 1 << self.PFN_SECTION_SHIFT
0 commit comments