Re: [PATCH RT v2] crypto: limit more FPU-enabled sections
From: Sebastian Andrzej Siewior
Date: Fri Dec 01 2017 - 08:50:08 EST
On 2017-12-01 14:44:54 [+0100], Peter Zijlstra wrote:
> !PREEMPT kernels. The above should work for everyone and would allow
> using 'long' kernel_fpu loops:
>
> kernel_fpu_begin();
> while (work) {
> do_work();
> kernel_fpu_resched();
> }
> kernel_fpu_end();
>
> regardless of preempt setting.
Ach, wasn't aware that you wanted that explicit for !PREEMPT kernels,
too. Okay, so let me pick this hunk up as-is for RT and before I throw
it mainline I will add some numbers.
Sebastian