Re: [PATCH v2] x86/fpu: Don't cache access to fpu_fpregs_owner_ctx
From: 'Sebastian Andrzej Siewior'
Date: Fri Nov 29 2019 - 12:08:27 EST
On 2019-11-29 16:57:42 [+0000], David Laight wrote:
> Should both fpregs_lock() and fpregs_unlock() contain a barrier() (or "memory" clobber)
> do stop the compiler moving anything across them?
They already do.
> David
Sebastian