* [tip: sched/core] sched/core: Remove rq_relock()
@ 2021-10-22 15:41 tip-bot2 for Peng Wang
0 siblings, 0 replies; only message in thread
From: tip-bot2 for Peng Wang @ 2021-10-22 15:41 UTC (permalink / raw)
To: linux-tip-commits; +Cc: Peng Wang, Peter Zijlstra (Intel), x86, linux-kernel
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@linux.alibaba.com>
AuthorDate: Tue, 19 Oct 2021 10:58:39 +08:00
Committer: Peter Zijlstra <peterz@infradead.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@linux.alibaba.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.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)
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-22 15:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-22 15:41 [tip: sched/core] sched/core: Remove rq_relock() tip-bot2 for Peng Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®