added pmap_get_free_region