[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140610145327.GJ6758@twins.programming.kicks-ass.net>
Date: Tue, 10 Jun 2014 16:53:27 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Jiri Kosina <jkosina@...e.cz>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Martin Jambor <mjambor@...e.cz>, Petr Mladek <pmladek@...e.cz>,
linux-kernel@...r.kernel.org, gcc@....gnu.org
Subject: Re: [PATCH] tell gcc optimizer to never introduce new data races
On Tue, Jun 10, 2014 at 03:23:36PM +0200, Jiri Kosina wrote:
> +# Tell gcc to never replace conditional load with a non-conditional one
> +KBUILD_CFLAGS += $(call cc-option,--param allow-store-data-races=0)
> +
Why do we not want: -fmemory-model=safe? And should we not at the very
least also disable packed-store-data-races?
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists