[Devel] Re: [RFC][PATCH] clone_with_pids()^w eclone() for x86_64
Dave Hansen
dave at linux.vnet.ibm.com
Thu Nov 19 13:32:36 PST 2009
On Thu, 2009-11-19 at 22:26 +0100, Louis Rilling wrote:
> But actually this is even better :D:
>
> __asm__ __volatile__(
> "movq %3, %%r10\n\t" /* pids in r10*/
> "pushq %%rbp\n\t" /* save value of ebp */
> :
> :"D" (flags_low), /* rdi */
> "S" (clone_args),/* rsi */
> "d" (args_size), /* rdx */
> "r10" (pids) /* Linux reads its fourth arg from r10 */
> );
That gives me:
clone-lib.c:28: error: matching constraint references invalid operand
number
-- Dave
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list