Re: locking user memory

Eric Lowe (elowe@myrile.madriver.k12.oh.us)
Fri, 6 Oct 2000 08:13:07 -0400 (EDT)


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/