Re: ~500 megs cached yet 2.6.5 goes into swap hell

Andrew Morton
2004-04-29T06:24:48Z

Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
>
>
> > The really strange thing is that the behaviour seems to get worse the
> > more RAM you have. I haven't noticed any problem at all on my laptop
> > with 768MB, only on the G5, which has 2.5GB. (The laptop is still on
> > 2.6.2-rc3 though, so I will try a newer kernel on it.)
>
> Your G5 also has a 2Gb IO hole in the middle of zone DMA, it's possible
> that the accounting doesn't work properly.

heh. It should have zone->spanned_pages - zone->present_pages = 2G.