aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2021-09-29 11:37:32 +0200
committerPeter Zijlstra <[email protected]>2021-10-05 15:52:15 +0200
commitb945efcdd07d86cece1cce68503aae91f107eacb (patch)
tree4e09be569b7976c2b04bcda0e7d72d9de699c41d /scripts/gdb/linux/proc.py
parent670721c7bd2a6e16e40db29b2707a27bdecd6928 (diff)
sched: Remove pointless preemption disable in sched_submit_work()
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 and update the stale comment. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Lai Jiangshan <[email protected]> Reviewed-by: Jens Axboe <[email protected]> Link: https://lkml.kernel.org/r/8735pnafj7.ffs@tglx
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions