Re: lowmem_reserve question

From: Con Kolivas
Date: Mon Apr 03 2006 - 01:19:21 EST


On Monday 03 April 2006 15:14, Mike Galbraith wrote:
> On Mon, 2006-04-03 at 14:48 +1000, Con Kolivas wrote:
> > On Monday 03 April 2006 14:42, Mike Galbraith wrote:
> > > On Mon, 2006-04-03 at 12:48 +1000, Con Kolivas wrote:
> > > > Furthermore, now that we have the option of up to 3GB lowmem split on
> > > > 32bit we can have a default lowmem_reserve of almost 12MB (if I'm
> > > > reading it right) which seems very tight with only 16MB of ZONE_DMA.
> > >
> > > I haven't crawled around in the vm for ages, but I think that's only
> > > 16MB if you support antique cards.
> >
> > That's what the ram is used for, but that is all the ZONE_DMA 32bit
> > machines get, whether you use it for that purpose or not. My concern is
> > that this will have all sorts of effects on the balancing since it will
> > always appear almost full.
>
> If that dinky 16MB zone still exists, and always appears nearly full, be
> happy. It used to be a real PITA.

That's not the point. If you try to do any allocation anywhere else it also
checks that zone, and it will find it full (always) leading to reclaim all
over the place for no good reason. This has nothing to do with actually
wanting to use that space or otherwise.

Cheers,
Con
-
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/