[PATCH v1 06/11] mm/sparse-vmemmap: refactor vmemmap_populate_basepages()