[openib-general] get_user_pages() vs. sys_mlock() and 2.6 kernel

Libor Michalek libor at topspin.com
Tue Sep 28 17:20:08 PDT 2004


On Tue, Sep 28, 2004 at 04:29:21PM -0700, Roland Dreier wrote:
>     Timur> I don't understand how this bug can continue to exist after
>     Timur> all this time.  get_user_pages() is supposed to lock the
>     Timur> memory, because drivers use it for DMA'ing directly into
>     Timur> user memory.
> 
> I think you will get a resolution much faster if you
> 
> A) post your test code so people can reproduce the bug

  I'd be interested in seeing the test code as well.

> B) post to the linux-kernel mailing list rather than openib-general

  However, I'd be interested if this list was CC'd, since it is very
applicable to all the zero-copy userspace code. 

-Libor



More information about the general mailing list