/* Free pages [@page_start and @page_end) in @pages for all units. The pages were allocated for @chunk.  */
static void pcpu_free_pages(struct pcpu_chunk *chunk, struct page **pages, unsigned long *populated, int page_start, int page_end)
/* Free pages [@page_start and @page_end) in @pages for all units. The pages were allocated for @chunk.  */
static void pcpu_free_pages(struct pcpu_chunk *chunk, struct page **pages, unsigned long *populated, int page_start, int page_end)
{
	unsigned int cpu;
	int i;
	for_each_possible_cpu(cpu) {
		for (i = page_start; i < page_end; i++) {
			struct page *page = pages[pcpu_page_idx(cpu, i)];
			if (page)
				__free_page(page);
		}
	}
}