Re: [PATCH 07/20] x86/uaccess: Always inline force_valid_ss()

From: Andy Lutomirski
Date: Thu Mar 07 2019 - 13:05:58 EST


On Thu, Mar 7, 2019 at 3:52 AM Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> arch/x86/kernel/signal.o: warning: objtool: restore_sigcontext()+0x3cc: call to force_valid_ss.isra.5() with UACCESS enabled
>
> XXX: move the callsite out of te AC=1 region instead?

Let's move it instead. I looked at the code and it should be fine.

--Andy