[openib-general] Re: Question about pinning memory

Michael S. Tsirkin mst at mellanox.co.il
Mon Jul 25 10:14:54 PDT 2005


Quoting r. Roland Dreier <rolandd at cisco.com>:
> Subject: Re: Question about pinning memory
> 
>     Gleb> Can you elaborate on kernel upcalls mechanism?
> 
> Not sure what you mean by the question.  I was just trying to say that
> in general when the kernel has some information it wants to push to
> userspace, it's probably best for userspace to get it via a read() on
> a file descriptor rather than for the kernel to queue a signal.

And given that you are performing a system call on each send/receive,
why not post the work request from kernel as well?
And since this is what SDP AIO does, why not just use it?

-- 
MST



More information about the general mailing list