Messages in this thread | | | Subject | Re: [PATCH] io-wq: Fix io_wq_worker_affinity() | From | Jens Axboe <> | Date | Thu, 8 Apr 2021 13:43:17 -0600 |
| |
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
| |