lkml.org 
[lkml]   [2021]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] io-wq: Fix io_wq_worker_affinity()
From
Date
On 4/8/21 3:44 AM, Peter Zijlstra wrote:
>
> Do not include private headers and do not frob in internals.
>
> On top of that, while the previous code restores the affinity, it
> doesn't ensure the task actually moves there if it was running,
> leading to the fun situation that it can be observed running outside
> of its allowed mask for potentially significant time.
>
> Use the proper API instead.

Applied, thanks Peter.

--
Jens Axboe

\
 
 \ /
  Last update: 2021-04-08 21:44    [W:0.023 / U:3.720 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site