sched/fair: Remove superfluous lock section in do_sched_cfs_slack_timer()
authorHui Su <sh_def@163.com>
Fri, 30 Oct 2020 14:46:21 +0000 (22:46 +0800)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 10 Nov 2020 17:39:05 +0000 (18:39 +0100)
commitcdb310474dece99985e4cdd2b96b1324e39c1c9d
treeabd5c1f62a8ddd817ce79fa6036bf7173ef7c43b
parent12fa97c64dce2f3c2e6eed5dc618bb9046e40bf0
sched/fair: Remove superfluous lock section in do_sched_cfs_slack_timer()

Since ab93a4bc955b ("sched/fair: Remove distribute_running fromCFS
bandwidth"), there is nothing to protect between
raw_spin_lock_irqsave/store() in do_sched_cfs_slack_timer().

Signed-off-by: Hui Su <sh_def@163.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Phil Auld <pauld@redhat.com>
Reviewed-by: Ben Segall <bsegall@google.com>
Link: https://lkml.kernel.org/r/20201030144621.GA96974@rlk
kernel/sched/fair.c