lkml.org 
[lkml]   [2017]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH]: x86: clarify/fix no-op barriers for text_poke_bp()
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.

\
 
 \ /
  Last update: 2017-07-31 17:27    [W:0.074 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site