Re: [PATCH] do not free non slab allocated per_cpu_pageset

From: Christoph Lameter
Date: Fri Sep 22 2006 - 15:07:07 EST


On Fri, 22 Sep 2006, Andrew Morton wrote:

> >
> > > I think I preferred my earlier fix, recently reworked as:
> >
> > The problem is though that the pcp pointers must point to the static pcp
> > arrays for bootup to succeed under NUMA. Your patch may work under SMP.
> > For NUMA you may zap pointers to valid static pcps.
>
> This is unclear to me. Do you mean "the pcps must be usable during
> process_zones()'s call to kmalloc_node())" or do you mean "the pcps must
> always be usable" (in which case more work needs to be done) or what?

The pcps must be usable during process_zones() for NUMA bootstrap.
As far as I recall: A cpu is booted with the static arrays and later
process_zones is replacing the references to the static arrays.


-
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/