]> git.baikalelectronics.ru Git - kernel.git/commit
x86: Clarify/fix no-op barriers for text_poke_bp()
authorPeter Zijlstra <peterz@infradead.org>
Mon, 31 Jul 2017 10:21:54 +0000 (12:21 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 10 Aug 2017 15:35:19 +0000 (17:35 +0200)
commit4645292b9e962b8cd0f96b0d87728c4a3c609480
treed141e09def986c15c78b86ae94ec84b777bd6dc2
parent46b57737559dd95e1f16f5ec18cb95a92f53289d
x86: Clarify/fix no-op barriers for text_poke_bp()

So I was looking at text_poke_bp() today and I couldn't make sense of
the barriers there.

How's for something like so?

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Acked-by: Jiri Kosina <jkosina@suse.cz>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: masami.hiramatsu.pt@hitachi.com
Link: http://lkml.kernel.org/r/20170731102154.f57cvkjtnbmtctk6@hirez.programming.kicks-ass.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/alternative.c