lkml.org 
[lkml]   [2018]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] x86/entry: Clear extra registers beyond syscall arguments for 64bit kernels

* Andy Lutomirski <luto@kernel.org> wrote:

> [...] Clearing R10 is mostly useless in the syscall path because we'll just
> unconditionally reload it in do_syscall_64().

AFAICS do_syscall_64() doesn't touch R10 at all. So how does it reload R10?

In fact do_syscall_64() as a C function does not touch R10, R11, R12, R13, R14,
R15 - it passes their values through.

What am I missing?

Thanks,

Ingo

\
 
 \ /
  Last update: 2018-02-05 19:33    [W:0.062 / U:6.064 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site