Messages in this thread |  | | Subject | Re: [PATCH] x86/fpu: Don't cache access to fpu_fpregs_owner_ctx | From | Rik van Riel <> | Date | Wed, 27 Nov 2019 10:46:51 -0500 |
| |
On Wed, 2019-11-27 at 13:42 +0100, Sebastian Andrzej Siewior wrote:
> There is no Sign-off by here. Could this please be verified by the > reporter?
Next time this is posted, feel free to add this :)
Reviewed-by: Rik van Riel <riel@surriel.com>
> diff --git a/arch/x86/include/asm/fpu/internal.h > b/arch/x86/include/asm/fpu/internal.h > index 4c95c365058aa..44c48e34d7994 100644 > --- a/arch/x86/include/asm/fpu/internal.h > +++ b/arch/x86/include/asm/fpu/internal.h > @@ -509,7 +509,7 @@ static inline void > __fpu_invalidate_fpregs_state(struct fpu *fpu) > > static inline int fpregs_state_valid(struct fpu *fpu, unsigned int > cpu) > { > - return fpu == this_cpu_read_stable(fpu_fpregs_owner_ctx) && cpu > == fpu->last_cpu; > + return fpu == this_cpu_read(fpu_fpregs_owner_ctx) && cpu == > fpu->last_cpu; > } > > /* -- All Rights Reversed. [unhandled content-type:application/pgp-signature] |  |