Re: copy_in_user

Roger Tsang <[email protected]> Tue, 26 Jan 2010 22:13:08 -0500
Newsgroups gmane.linux.cluster.ssic.devel
Message-ID <[email protected]>
On Tue, Jan 26, 2010 at 4:23 AM, John Hughes <[email protected]> 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

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com

_______________________________________________
ssic-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ssic-linux-devel