Linus Torvalds wrote:
>> In article <[EMAIL PROTECTED]>,
>>  <[EMAIL PROTECTED]> wrote:
>> >
>> >I have a user buffer and i want to map it to kernel address space
>> >can anyone tell how to do this like in AIX we have xmattach
>
>> Note that it is usually MUCH better to do this the other way around:
>> having a kernel-side buffer, and mapping that into user space. I don't
>> understand why so many people always want to do it the wrong way
around..

>if you could lock the userspace, the interface simplfies: The
>"read" systemcall can lock the userspace buffer given, and then
>initiate the DMA and return when done. Easy.

then is it like every buffer you pass to read system call is pinned down in
memory(user space)??


thanks,


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to