[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <163491731964.626.5567261652275466917.tip-bot2@tip-bot2>
Date: Fri, 22 Oct 2021 15:41:59 -0000
From: "tip-bot2 for Peng Wang" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Peng Wang <rocking@...ux.alibaba.com>,
"Peter Zijlstra (Intel)" <peterz@...radead.org>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: [tip: sched/core] sched/core: Remove rq_relock()
The following commit has been merged into the sched/core branch of tip:
Commit-ID: eaed27d0d01a89a510736d87f10cea02042b4756
Gitweb: https://git.kernel.org/tip/eaed27d0d01a89a510736d87f10cea02042b4756
Author: Peng Wang <rocking@...ux.alibaba.com>
AuthorDate: Tue, 19 Oct 2021 10:58:39 +08:00
Committer: Peter Zijlstra <peterz@...radead.org>
CommitterDate: Fri, 22 Oct 2021 15:32:46 +02:00
sched/core: Remove rq_relock()
After the removal of migrate_tasks(), there is no user of
rq_relock() left, so remove it.
Signed-off-by: Peng Wang <rocking@...ux.alibaba.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@...radead.org>
Link: https://lkml.kernel.org/r/449948fdf9be4764b3929c52572917dd25eef758.1634611953.git.rocking@linux.alibaba.com
---
kernel/sched/sched.h | 8 --------
1 file changed, 8 deletions(-)
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index a00fc70..f0b249e 100644
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
@@ -1616,14 +1616,6 @@ rq_lock(struct rq *rq, struct rq_flags *rf)
}
static inline void
-rq_relock(struct rq *rq, struct rq_flags *rf)
- __acquires(rq->lock)
-{
- raw_spin_rq_lock(rq);
- rq_repin_lock(rq, rf);
-}
-
-static inline void
rq_unlock_irqrestore(struct rq *rq, struct rq_flags *rf)
__releases(rq->lock)
{
Powered by blists - more mailing lists