Re: locking user memory

From: Eric Lowe (elowe@myrile.madriver.k12.oh.us)
Date: Fri Oct 06 2000 - 08:13:07 EDT

  • Next message: Rasmus Andersen: "[PATCH] PCI detection in 2.2.x and 2.4.0"

    Hello,

    > My driver needs to do a large DMA in the user address. Is there a way i can
    > ensure the user buffer is not swapped out, while i am doing the IO.
    > Please CC your mail to atulm@ami.com
    >

    Have a look at map_user_kiobuf() and friends in 2.4.. They're
    available as part of the raw I/O patch for 2.2. Replay if you
    need a recent one against 2.2.17, I have it.

    --
    Eric Lowe
    Software Engineer, Systran Corporation
    elowe@systran.com
    

    - 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 06 2000 - 08:15:21 EDT