Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1700120

Re: [RFC][PATCH]: x86: clarify/fix no-op barriers for text_poke_bp()

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [RFC][PATCH]: x86: clarify/fix no-op barriers for text_poke_bp()
Date 2017-07-31 17:30 +0200
Message-ID <u9kNQ-7Wi-25@gated-at.bofh.it> (permalink)
References <u9g7x-54B-33@gated-at.bofh.it> <u9jRN-7nb-7@gated-at.bofh.it> <u9kuu-7PW-7@gated-at.bofh.it> <u9kEa-7Ta-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Jul 31, 2017 at 11:16:48AM -0400, Steven Rostedt wrote:
> On Mon, 31 Jul 2017 17:04:11 +0200
> Peter Zijlstra <peterz@infradead.org> wrote:
> 
> > Well, this is x86, its a NO-OP. The only reason to write barriers like
> 
> Is it really a nop?

smp_wmb() is ever since we killed OOSTORE, and smp_rmb() is effectively
(I don't think anybody uses PPRO_FENCE).

The normal x86 TSO memory model doesn't need read or write barriers --
only weird and wonderful (broken) x86 bits do.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC][PATCH]: x86: clarify/fix no-op barriers for text_poke_bp() Peter Zijlstra <peterz@infradead.org> - 2017-07-31 12:30 +0200
  Re: [RFC][PATCH]: x86: clarify/fix no-op barriers for  text_poke_bp() Steven Rostedt <rostedt@goodmis.org> - 2017-07-31 16:30 +0200
    Re: [RFC][PATCH]: x86: clarify/fix no-op barriers for text_poke_bp() Peter Zijlstra <peterz@infradead.org> - 2017-07-31 17:10 +0200
      Re: [RFC][PATCH]: x86: clarify/fix no-op barriers for  text_poke_bp() Steven Rostedt <rostedt@goodmis.org> - 2017-07-31 17:20 +0200
        Re: [RFC][PATCH]: x86: clarify/fix no-op barriers for text_poke_bp() Peter Zijlstra <peterz@infradead.org> - 2017-07-31 17:30 +0200
  Re: [RFC][PATCH]: x86: clarify/fix no-op barriers for  text_poke_bp() Jiri Kosina <jikos@kernel.org> - 2017-08-01 11:20 +0200
  [tip:x86/asm] x86: Clarify/fix no-op barriers for text_poke_bp() tip-bot for Peter Zijlstra <tipbot@zytor.com> - 2017-08-10 18:50 +0200

csiph-web