Messages in this thread | | | Subject | Re: sched: Remove pointless preemption disable in sched_submit_work() | From | Jens Axboe <> | Date | Tue, 28 Sep 2021 08:41:08 -0600 |
| |
On 9/28/21 8:30 AM, Thomas Gleixner wrote: > Neither wq_worker_sleeping() nor io_wq_worker_sleeping() require to be invoked > with preemption disabled: > > - The worker flag checks operations only need to be serialized against > the worker thread itself. > > - The accounting and worker pool operations are serialized with locks. > > which means that disabling preemption has neither a reason nor a > value. Remove it.
Reviewed-by: Jens Axboe <axboe@kernel.dk>
-- Jens Axboe
| |