Messages in this thread | | | Date | Thu, 16 Sep 2010 11:55:07 +0930 | From | Christopher Yeoh <> | Subject | Re: [RFC][PATCH] Cross Memory Attach |
| |
On Wed, 15 Sep 2010 08:14:49 -0700 Linus Torvalds <torvalds@linux-foundation.org> wrote: > > In fact, you might consider passing in a "copy_out" function pointer > rather than that "copy_to" boolean, and rather than that conditional, > just do a > > ret = copy_out(..); > > thing. On sane/good architectures, branch target prediction will make > it all work out to the same work in the end, and it certainly looks > simpler and cleaner.
Thanks for all the feedback - I'll rework the patch...
Regards,
Chris -- cyeoh@au.ibm.com
| |