lkml.org 
[lkml]   [2022]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH v2 04/19] crypto: x86/sha - limit FPU preemption
Date

> > +#define FPU_BYTES 4096U /* avoid kernel_fpu_begin/end scheduler/rcu stalls
> */
>
> Declare this inside the function it's used as an untyped enum, and give
> it a better name, like BYTES_PER_FPU.

I agree that's a better name, and will use something like that depending
on how other discussions go. I was trying to keep it as a one-line change
within 80 characters, expecting some churn before it's finalized.

\
 
 \ /
  Last update: 2022-10-13 23:54    [W:0.152 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site