]> git.baikalelectronics.ru Git - kernel.git/commit
x86/speculation/mds: Mark mds_user_clear_cpu_buffers() __always_inline
authorThomas Gleixner <tglx@linutronix.de>
Wed, 4 Mar 2020 11:49:18 +0000 (12:49 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 11 Jun 2020 13:14:40 +0000 (15:14 +0200)
commit89912ec668c9df43076a7a4dc8a00627e24bf8bf
tree9207e89fedc3c5918a5c99c76da192c66128bf9d
parentff58945ff1ba754ab34edac5b55de09bbf04ffae
x86/speculation/mds: Mark mds_user_clear_cpu_buffers() __always_inline

Prevent the compiler from uninlining and creating traceable/probable
functions as this is invoked _after_ context tracking switched to
CONTEXT_USER and rcu idle.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200505134340.902709267@linutronix.de
arch/x86/include/asm/nospec-branch.h