Re: [Alsa-devel] Re: [OT] ALSA userspace API complexity

From: David Lang
Date: Mon Jan 09 2006 - 19:32:51 EST


On Tue, 10 Jan 2006, John Rigg wrote:

does the CPU touch the data for these, or do you DMA directly from
userspace (i.e. "zero-copy")?

The cards I mentioned use DMA. RME actually advertises that some of their
cards can handle 52 channels with zero CPU load. Their onboard DSPs can
also do routing and mixing, again without touching the CPU.

I was under the (apparently mistaken) impression that you couldn't DMA from userspace (something to do with the possibility that the userspace memory pages could be swapped out in the middle of the DMA)

David Lang

--
There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies. And the other way is to make it so complicated that there are no obvious deficiencies.
-- C.A.R. Hoare

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