[lkml]   [2000]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: mapping user space buffer to kernel address space
Linus Torvalds wrote:
>> In article <>,
>> <> 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

>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)??


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:41    [W:0.026 / U:0.940 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site