| Date | Thu, 29 Jan 2015 16:26:10 -0500 | From | Rik van Riel <> | Subject | Re: [PATCH 1/3] x86, fpu: unlazy_fpu: don't reset thread.fpu_counter |
| |
On 01/29/2015 04:07 PM, Oleg Nesterov wrote: > It is not clear why the "else" branch clears ->fpu_counter, this makes > no sense. > > If use_eager_fpu() then this has no effect. Otherwise, if we actually > wanted to prevent fpu preload after the context switch we would need to > reset it unconditionally, even if __thread_has_fpu(). > > Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
|