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 <o...@redhat.com>

Reviewed-by: Rik van Riel <r...@redhat.com>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to