Re: [PATCH 3/3] x86: do not save callee-preserved registers around lockdep_sys_exit_thunk
From: Peter Zijlstra
Date: Mon Mar 02 2015 - 03:45:18 EST
On Sun, Mar 01, 2015 at 08:16:18AM -0800, Andy Lutomirski wrote:
> On Fri, Feb 27, 2015 at 4:29 PM, Denys Vlasenko <dvlasenk@xxxxxxxxxx> wrote:
> > Internally, lockdep_sys_exit_thunk saves callee-clobbered registers,
> > and calls a C function, lockdep_sys_exix. Thus, callee-preserved
> > won't be mangled, there is no need to save them.
> >
> > Patch was run-tested.
>
> Peterz, I think this was your code.
It was, I'm forever unsure on when what register are saved by which
macros/functions.
Thanks!
--
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/