Re: [PATCH 06/18] x86, barrier: stop speculation for failed access_ok

From
Ingo Molnar <mingo@kernel.org>
Date
2018-01-08 18:21:45
Also in
linux-arch, lkml
Reply to
Peter Zijlstra, 2018-01-08
* Peter Zijlstra [off-list ref] wrote:
On Sun, Jan 07, 2018 at 06:24:11PM -0800, Alexei Starovoitov wrote:
quoted
How about:
CONFIG_SPECTRE1_WORKAROUND_INDEX_MASK
CONFIG_SPECTRE1_WORKAROUND_LOAD_FENCE
INSTRUCTION_FENCE if anything. LFENCE for Intel (and now also for AMD as
per 0592b0bce169) is a misnomer, IFENCE would be a better name for it.
Btw., we should probably propagate that naming to most places and only point it 
out in comments/documentation that Intel/AMD calls this CPU functionality 'LFENCE' 
for historic reasons and that the opcode got stolen for the Spectre fixes.

Thanks,

	Ingo
Thread (136 messages) 136 messages, 29 authors, last reply 2018-01-12
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help