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)
commit01651324edad9db4fe49fb39b905c76861649b4c
treed141e09def986c15c78b86ae94ec84b777bd6dc2
parente137a4d8f4dd2e277e355495b6b2cb241a8693c3
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