Re: [RFC][PATCH] Cross Memory Attach

From: Christopher Yeoh
Date: Wed Sep 15 2010 - 22:25:36 EST


On Wed, 15 Sep 2010 08:14:49 -0700
Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/