History

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().

Hui Su committed 6 years ago

Commit cdb31041 parent 12fa97c1 file · +0 −3Browse files

Showing the changes to kernel (1 of 1 file). Show all

Unified · Split

kernel/sched/fair.c+0−3
@@ -5126,9 +5126,6 @@ static void do_sched_cfs_slack_timer(struct cfs_bandwidth *cfs_b) · 5125 unmodified lines
5126 return;5126 return;
5127 5127
5128 distribute_cfs_runtime(cfs_b);5128 distribute_cfs_runtime(cfs_b);
5129
5130 raw_spin_lock_irqsave(&cfs_b->lock, flags);
5131 raw_spin_unlock_irqrestore(&cfs_b->lock, flags);
5132}5129}
5133 5130
5134/*5131/*

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t