summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2020-07-14 08:46:40 +0300
committerHeiko Carstens <hca@linux.ibm.com>2020-07-20 11:55:32 +0300
commit3c5f2eb9695cd241c9898a01388b19a149d0b7d2 (patch)
treea71a73963bfe622b0def696bc762911af28405ee /scripts/gdb/linux/utils.py
parenta709423f7a3a452e5fa7442425817c1bdccd7926 (diff)
downloadlinux-3c5f2eb9695cd241c9898a01388b19a149d0b7d2.tar.xz
s390/mm: avoid trimming to MAX_ORDER
Trimming to MAX_ORDER was originally done in order to avoid to set HOLES_IN_ZONE, which in turn would enable a quite expensive pfn_valid() check. pfn_valid() however only checks if a struct page exists for a given pfn. With sparsemen vmemmap there are always struct pages, since memmaps are allocated for whole sections. Therefore remove the HOLES_IN_ZONE comment and the trimming. Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions