mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 06:25:52 +02:00
Revert "sched/tune: Initialize raw_spin_lock in boosted_groups"
This reverts commit 9a9259a78c.
It seems schedtune_init_cgroups and schedtune_boostgroup_init
all call raw_spin_lock_init(&bg->lock), it is wrong.
Change-Id: Icbdfeaf81f4fb59fdcc02623ac5e26d41bd1e496
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
parent
46bc7979ad
commit
1f579ea18f
|
|
@ -647,7 +647,6 @@ schedtune_boostgroup_init(struct schedtune *st)
|
|||
bg = &per_cpu(cpu_boost_groups, cpu);
|
||||
bg->group[st->idx].boost = 0;
|
||||
bg->group[st->idx].tasks = 0;
|
||||
raw_spin_lock_init(&bg->lock);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user