Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1385331

Re: [PATCH 1/2] MIPS: Disable preemption during prctl(PR_SET_FP_MODE, ...)

From "Maciej W. Rozycki" <macro@imgtec.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] MIPS: Disable preemption during prctl(PR_SET_FP_MODE, ...)
Date 2016-04-22 18:10 +0200
Message-ID <rqLOy-4Dw-17@gated-at.bofh.it> (permalink)
References <rqlhn-8vU-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 21 Apr 2016, Paul Burton wrote:

> Whilst a PR_SET_FP_MODE prctl is performed there are decisions made
> based upon whether the task is executing on the current CPU. This may
> change if we're preempted, so disable preemption to avoid such changes
> for the lifetime of the mode switch.

Reviewed-by: Maciej W. Rozycki <macro@imgtec.com>

 Thanks!

  Maciej

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] MIPS: Disable preemption during prctl(PR_SET_FP_MODE, ...) Paul Burton <paul.burton@imgtec.com> - 2016-04-21 13:50 +0200
  Re: [PATCH 1/2] MIPS: Disable preemption during prctl(PR_SET_FP_MODE,  ...) "Maciej W. Rozycki" <macro@imgtec.com> - 2016-04-22 18:10 +0200

csiph-web