Re: 2.3.27 always keeping 15M free?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 12 Nov 1999 16:43:21 +0000 (GMT)


> > > On a 40M laptop that makes a big difference. *smile*
> >
> > 2.3.27 seperates DMA memory from the rest but forgets that you need to
> > pull from the DMA pool for a failing GFP_KERNEL allocation.
>
> Aha! Alan, you're great; I barely have time to reboot to try an
> older kernel before you come up with the source of the problem!

I broke one of my test 2.2 kernels the same way, it was kind of obvious 8)

> My ignorance here is showing; would this stop the kernel from
> allocating DMA'able memory for any purpose whatsoever?

None. You want to avoid giving out DMA memory until there is a need for it
(effectively a bit of backpressure). HJ and Ben's changes during 2.2 do this
and they basically fixed all the 'no DMA memory' problems we had

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