[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c30520c7-6c20-6a32-e9ce-3673285ebc4d@kernel.dk>
Date: Thu, 8 Apr 2021 13:43:17 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Peter Zijlstra <peterz@...radead.org>
Cc: asml.silence@...il.com, io-uring@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] io-wq: Fix io_wq_worker_affinity()
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
Powered by blists - more mailing lists