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

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
51265126 return;
51275127
51285128 distribute_cfs_runtime(cfs_b);
5129−
5130− raw_spin_lock_irqsave(&cfs_b->lock, flags);
5131− raw_spin_unlock_irqrestore(&cfs_b->lock, flags);
51325129 }
51335130
51345131 /*

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