[openib-general] Question about pinning memory
Roland Dreier
rolandd at cisco.com
Mon Jul 25 09:47:59 PDT 2005
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.
Gleb> This is responsibility of the user to make sure he is not
Gleb> unmaps or frees memory that is currently in use.
Any registration caching scheme has to deal with a user using memory
X, freeing memory X, and then allocating memory Y at the same virtual
address as X.
- R.
More information about the general
mailing list