Re: [RFC] generic device DMA implementation

James Bottomley (James.Bottomley@SteelEye.com)
Fri, 06 Dec 2002 12:40:49 -0600


davem@redhat.com said:
> I have only one request, in terms of naming. What we're really doing
> is adding a third class of memory, it really isn't consistent and it
> really isn't streaming. It's inconsistent memory meant to be used for
> "consistent memory things".

Yes, we've discussed that too...but not come to a conclusion. The problem is
really that if you call dma_alloc and pass in the DMA_CONFORMANCE_NON_CONSISTEN
T flag, what you're saying is "This driver implements all the correct cache
flushes and can cope with inconsistent memory. Please give me the type of
memory that's most efficient for the platform I'm running on.". The driver
isn't asking give me a specific type of memory, it's telling the platform what
it's capabilities are.

Any thoughts on naming would be most welcome.

James

-
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/