[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211013211118.apsj66c6b6abubeo@treble>
Date: Wed, 13 Oct 2021 14:11:18 -0700
From: Josh Poimboeuf <jpoimboe@...hat.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: x86@...nel.org, andrew.cooper3@...rix.com,
linux-kernel@...r.kernel.org, alexei.starovoitov@...il.com,
ndesaulniers@...gle.com
Subject: Re: [PATCH 4/9] x86/alternative: Implement .retpoline_sites support
On Wed, Oct 13, 2021 at 02:22:21PM +0200, Peter Zijlstra wrote:
> +#ifdef CONFIG_X86_64
> +
> +/*
> + * CALL/JMP *%\reg
> + */
> +static int emit_indirect(int op, int reg, u8 *bytes)
X86_64 is already equivalent to STACK_VALIDATION these days, but might
as well clarify here where the retpoline_sites dependency comes from by
changing this to '#ifdef CONFIG_STACK_VALIDATION'.
--
Josh
Powered by blists - more mailing lists