[PATCH 2/2] x86-64/swapcontext: Restore the pointer into %rdx after syscall

Carlos O'Donell carlos@redhat.com
Wed May 2 05:04:00 GMT 2018


On 04/29/2018 05:10 PM, Florian Weimer wrote:
> On 04/26/2018 02:17 PM, H.J. Lu wrote:
>> +    /* Restore destroyed register into RDX which is preserved by
>> +       the syscall.  */
>> +    movq    %r12, %rdx
> 
> Again, this comment does not make sense without the other upcoming changes.

OK with my suggestion for comment in 1/2 of this series.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>

-- 
Cheers,
Carlos.



More information about the Libc-alpha mailing list