sched/fair: Remove the redundant critical section
PATCH 1/1 sched/fair: Remove the redundant critical section
Now there is nothing in the critical section, so remove it.
Signed-off-by Qi Zheng <[email protected]>
--- kernel/sched/fair.c | 3 --- 1 file changed, 3 deletions(-)
kernel/sched/fair.c +0 -3
@@ -5114,9 +5114,6 @@ static void do_sched_cfs_slack_timer(struct cfs_bandwidth *cfs_b)return ;distribute_cfs_runtime (cfs_b); - -raw_spin_lock_irqsave (&cfs_b->lock, flags); -raw_spin_unlock_irqrestore (&cfs_b->lock, flags); }/*
Signature · 1 line
2.25.1
Vincent Guittot
maintainerQuoted 2 lines · Qi Zheng
Now there is nothing in the critical section, so remove it.
https://lkml.org/lkml/2020/10/30/689
Quoted 23 lines
Signed-off-by Qi Zheng <[email protected]>--- kernel/sched/fair.c | 3 --- 1 file changed, 3 deletions(-)kernel/sched/fair.c +0
-4@@ -5114,9 +5114,6 @@ static void do_sched_cfs_slack_timer(struct cfs_bandwidth *cfs_b)return ;distribute_cfs_runtime (cfs_b); - -raw_spin_lock_irqsave (&cfs_b->lock, flags); -raw_spin_unlock_irqrestore (&cfs_b->lock, flags); }/* -- 2.25.1