Re: mapping user space buffer to kernel address space

From: Linus Torvalds (torvalds@transmeta.com)
Date: Fri Oct 13 2000 - 14:50:09 EDT

  • Next message: Francois Romieu: "[PATCH] drivers/net/starfire.c - ioremap return typr - 2.4.0-test10-pre2"

    In article <CA256977.0039410C.00@d73mta05.au.ibm.com>,
     <mdaljeet@in.ibm.com> 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..

                    Linus
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Fri Oct 13 2000 - 14:55:49 EDT