mirror of https://gitee.com/openkylin/linux.git
e35123d83e
When building with LTO, there is an increased risk of the compiler converting an address dependency headed by a READ_ONCE() invocation into a control dependency and consequently allowing for harmful reordering by the CPU. Ensure that such transformations are harmless by overriding the generic READ_ONCE() definition with one that provides acquire semantics when building with LTO. Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Will Deacon <will@kernel.org> |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
gen_vdso_offsets.sh | ||
note.S | ||
sigreturn.S | ||
vdso.S | ||
vdso.lds.S | ||
vgettimeofday.c |