Re: copy_in_user

Roger Tsang <[email protected]> Mon, 25 Jan 2010 21:08:15 -0500
Newsgroups gmane.linux.cluster.ssic.devel
Message-ID <[email protected]>
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()

On Mon, Jan 25, 2010 at 4:35 AM, John Hughes <[email protected]> wrote:

> Currently we do nothing special for this, so the default implementation:
>
>    for (i = 1; i < len; ++i) {
>       copy_from_user (from[i]);
>       copy_to_user (to[i]);
>    }
>
> will be used.
>
> Pretty non-optimal if the user process is on another node!
>
>
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for
> Conference
> attendees to learn about information security's most important issues
> through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> ssic-linux-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ssic-linux-devel
>

------------------------------------------------------------------------------
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