On Llu, 2006-01-09 at 16:29 -0800, David Lang wrote: > 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) Drivers can choose to support this two different ways. One is to have a buffer of kernel memory mapped into user space and shared with the hardware (this is how OSS did it), the other is to use the 2.6 get_user_pages API to get the physical address of a set of pages and lock them down so they don't wander off during DMA. Both have advantages for different uses. Alan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [Alsa-devel] Re: [OT] ALSA userspace API complexity
- From: Lee Revell <[email protected]>
- Re: [Alsa-devel] Re: [OT] ALSA userspace API complexity
- References:
- Re: [Alsa-devel] Re: [OT] ALSA userspace API complexity
- From: René Rebe <[email protected]>
- Re: [Alsa-devel] Re: [OT] ALSA userspace API complexity
- From: Hannu Savolainen <[email protected]>
- Re: [Alsa-devel] Re: [OT] ALSA userspace API complexity
- From: René Rebe <[email protected]>
- Re: [Alsa-devel] Re: [OT] ALSA userspace API complexity
- From: David Lang <[email protected]>
- Re: [Alsa-devel] Re: [OT] ALSA userspace API complexity
- From: John Rigg <[email protected]>
- Re: [Alsa-devel] Re: [OT] ALSA userspace API complexity
- From: David Lang <[email protected]>
- Re: [Alsa-devel] Re: [OT] ALSA userspace API complexity
- From: John Rigg <[email protected]>
- Re: [Alsa-devel] Re: [OT] ALSA userspace API complexity
- From: David Lang <[email protected]>
- Re: [Alsa-devel] Re: [OT] ALSA userspace API complexity
- Prev by Date: Re: [PATCH RT] make hrtimer_nanosleep return immediately if time has passed
- Next by Date: Re: [GIT PATCH] PCI patches for 2.6.15 - retry
- Previous by thread: Re: [Alsa-devel] Re: [OT] ALSA userspace API complexity
- Next by thread: Re: [Alsa-devel] Re: [OT] ALSA userspace API complexity
- Index(es):