lkml.org 
[lkml]   [2014]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Make math_state_restore() save and restore the interrupt flag
On 02/01/2014 11:46 AM, Linus Torvalds wrote:
>
> .. which *does* actually bring up something that might work, and might
> be a good idea: remove the "restore math state or set TS" from the
> normal kernel paths *entirely*, and move it to the "return to user
> space" phase.
>

The task switch code would have to be aware in case of preemption,
though. The nice thing about *that* is that we could probably
completely drop the notion that we can't preempt an FPU-using kernel task.

-hpa



\
 
 \ /
  Last update: 2014-02-01 21:41    [W:0.089 / U:2.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site