• Heiko Carstens's avatar
    s390/mm: avoid trimming to MAX_ORDER · 3c5f2eb9
    Heiko Carstens authored
    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: default avatarHeiko Carstens <hca@linux.ibm.com>
    3c5f2eb9
setup.c 31 KB