On Tue, Jan 26, 2010 at 4:23 AM, John Hughes <john@calva.com> wrote:
Roger Tsang wrote:
I'd imagine ssi_rcopy_in_user() would...

1. If both dst & src are local just call local copy_in_user() and we are done.
2. If dst is remote do ssi_rcopy_to_user()
3. If src is remote do ssi_rcopy_from_user()
No, copy_in_user copies from one userspace address to another in the same process.  src and dst are guaranteed to be on the same node.


Thanks...overlooked the obvious.  In this case it is just a matter of function shipping to the node where local copy_in_user() will be run.

-Roger