Re: mm: critical shortage of bounce buffers

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Sep 28 2001 - 17:16:16 EST


> > Its in the high mem handling routines. It means the machine stalled for
> > a moment doing I/O because it had no memory below 1Gb to use.
>
> But why does it need to have memory below 1Gb ?? Normally, 32bit PCI DMA
> controllers (such as network cards and disk controllers) can access up to 4GB of
> physical memory within the machine, so unless you are using the CONFIG_HIGHMEM4G
> option it shouldn't need bounce buffers. Or am I missing something here
> (something like the second physical GB is actually in the address range
> 4GB->)???

The core code doesn't know if the device is PIO or DMA, and it cannot
pass virtually unmapped objects to the block layer. This is what Jens has
been fixing.

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



This archive was generated by hypermail 2b29 : Sun Sep 30 2001 - 21:01:06 EST