[PATCH v2 OLK-5.10 12/37] mm/sharepool: Reorganize create_spg()