Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1385329
| From | "Maciej W. Rozycki" <macro@imgtec.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/2] MIPS: Force CPUs to lose FP context during mode switches |
| Date | 2016-04-22 18:10 +0200 |
| Message-ID | <rqLOy-4Dw-9@gated-at.bofh.it> (permalink) |
| References | <rqlhn-8vU-9@gated-at.bofh.it> <rqlhn-8vU-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, 21 Apr 2016, Paul Burton wrote: > Fix this by broadcasting an IPI if other CPUs may have live FP context > for an affected thread, with a handler causing those CPUs to relinquish > their FPU ownership. Threads will then be allowed to continue running > but will stall on the wait_on_atomic_t in enable_restore_fp_context if > they attempt to use FP again whilst the mode switch is still in > progress. The end result is less fragile poking at scheduler context > switch counts & a more expedient completion of the mode switch. Reviewed-by: Maciej W. Rozycki <macro@imgtec.com> Thanks, Paul, for your work on this problem! I'll rebase my outstanding NaN interlinking stuff (https://patchwork.linux-mips.org/patch/11491/) on top of your patches -- they address the concern expressed there. Maciej
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 2/2] MIPS: Force CPUs to lose FP context during mode switches Paul Burton <paul.burton@imgtec.com> - 2016-04-21 13:50 +0200 Re: [PATCH 2/2] MIPS: Force CPUs to lose FP context during mode switches "Maciej W. Rozycki" <macro@imgtec.com> - 2016-04-22 18:10 +0200
csiph-web