[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201110134101.434928-1-arch0.zheng@gmail.com>
Date: Tue, 10 Nov 2020 21:41:01 +0800
From: Qi Zheng <arch0.zheng@...il.com>
To: mingo@...hat.com, peterz@...radead.org, juri.lelli@...hat.com,
vincent.guittot@...aro.org, dietmar.eggemann@....com,
rostedt@...dmis.org, bsegall@...gle.com, mgorman@...e.de,
bristot@...hat.com
Cc: linux-kernel@...r.kernel.org, Qi Zheng <arch0.zheng@...il.com>
Subject: [PATCH] sched/fair: Remove the redundant critical section
Now there is nothing in the critical section, so remove it.
Signed-off-by: Qi Zheng <arch0.zheng@...il.com>
---
kernel/sched/fair.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 52cacfc62922..06c4f3430e95 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -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
Powered by blists - more mailing lists