lkml.org 
[lkml]   [2020]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Remove WQ_CPU_INTENSIVE flag from unbound wq's
From
Date


On 13/02/2020 16:36, Mike Snitzer wrote:
> On Thu, Feb 13 2020 at 9:18am -0500,
> Maksym Planeta <mplaneta@os.inf.tu-dresden.de> wrote:
>
>> The documentation [1] says that WQ_CPU_INTENSIVE is "meaningless" for
>> unbound wq. I remove this flag from places where unbound queue is
>> allocated. This is supposed to improve code readability.
>>
>> 1. https://www.kernel.org/doc/html/latest/core-api/workqueue.html#flags
>>
>> Signed-off-by: Maksym Planeta <mplaneta@os.inf.tu-dresden.de>
>
> What the Documentation says aside, have you cross referenced with the
> code? And/or have you done benchmarks to verify no changes?
>

It seems so from the code. Although, I'm not 100% confident. I did not
run benchmarks, instead I relied that on the assumption that
documentation is correct.

> Thanks,
> Mike
>

--
Regards,
Maksym Planeta

\
 
 \ /
  Last update: 2020-02-13 17:20    [W:0.057 / U:0.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site