Re: [PATCH/RFT 4/5] CLOCK-Pro page replacement

From: Andrew Morton
Date: Wed Aug 17 2005 - 19:40:21 EST


"David S. Miller" <davem@xxxxxxxxxxxxx> wrote:
>
> > +DEFINE_PER_CPU(unsigned long, evicted_pages);
>
> DEFINE_PER_CPU() needs an explicit initializer to work
> around some bugs in gcc-2.95, wherein on some platforms
> if you let it end up as a BSS candidate it won't end up
> in the per-cpu section properly.
>
> I'm actually happy you made this mistake as it forced me
> to audit the whole current 2.6.x tree and there are few
> missing cases in there which I'll fix up and send to Linus.

I'm prety sure we fixed that somehow. But I forget how.
-
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/