Re: [patch 7/7] cpu alloc: page allocator conversion

From: KOSAKI Motohiro
Date: Thu Nov 06 2008 - 19:37:46 EST


> On Thu, 6 Nov 2008, KOSAKI Motohiro wrote:
>
> > > - free_zone_pagesets(cpu);
> > > + process_zones(cpu);
> > > break;
> >
> > Why do you drop cpu unplug code?
>
> Because it does not do anything. Percpu areas are traditionally allocated
> for each possible cpu not for each online cpu.

Yup, Agreed.

However, if cpu-unplug happend, any pages in pcp should flush to buddy (I think).



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/