Messages in this thread | | | From | (Alan Cox) | Subject | Re: 2.1.125: Locks when running out of ISA DMA buffers ? | Date | Tue, 20 Oct 1998 00:27:39 +0100 (BST) |
| |
> Transmit buffers also need to be in DMA'able memory; if the network > layer passes a buffer above 16 MB, a new buffer is allocated with > GFP_DMA and data is copied to this buffer before transmission.
And if there are no new buffers to allocate ?
> So - is anyone else having problems with ISA DMA cards in 2.1.125 ?
No but the Z85230 driver which has similar properties in its DMA use always has a bounce buffer handy, as does every other driver I know. They grab a bounce buffer at set up time and hold onto it
That way you dont get caught. Trying to force receive buffers to come from an ISA DMA pool is pretty bad manners to the system as well. Its also going to break some day when faster routing code starts getting the target driver to provide a buffer for the source
Alan
- 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/
| |