[openib-general] Re: [PATCH] (repost) sdp: replace mlock with get_user_pages

Roland Dreier roland at topspin.com
Thu May 12 16:11:12 PDT 2005


    Libor>   Always call aio_complete() immediately when
    Libor> iocb_complete() is called, and only spawn the work thread
    Libor> to unlock the memory after the aio_complete() call. The
    Libor> patch is below.

Another alternative would be to always complete aios asynchronously,
which should preserve the order.  I guess this would hurt latency for
small ios...

 - R.



More information about the general mailing list