diff options
author | Peter Zijlstra <peterz@infradead.org> | 2020-11-18 00:19:34 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-05-12 11:43:27 +0200 |
commit | 9edeaea1bc452372718837ed2ba775811baf1ba1 (patch) | |
tree | a4c002b7be5b284c0f7d2bd6647e602b482fc4aa /kernel/sched/deadline.c | |
parent | sched: Prepare for Core-wide rq->lock (diff) | |
download | linux-9edeaea1bc452372718837ed2ba775811baf1ba1.tar.xz linux-9edeaea1bc452372718837ed2ba775811baf1ba1.zip |
sched: Core-wide rq->lock
Introduce the basic infrastructure to have a core wide rq->lock.
This relies on the rq->__lock order being in increasing CPU number
(inside a core). It is also constrained to SMT8 per lockdep (and
SMT256 per preempt_count).
Luckily SMT8 is the max supported SMT count for Linux (Mips, Sparc and
Power are known to have this).
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Don Hiatt <dhiatt@digitalocean.com>
Tested-by: Hongyu Ning <hongyu.ning@linux.intel.com>
Tested-by: Vincent Guittot <vincent.guittot@linaro.org>
Link: https://lkml.kernel.org/r/YJUNfzSgptjX7tG6@hirez.programming.kicks-ass.net
Diffstat (limited to 'kernel/sched/deadline.c')
0 files changed, 0 insertions, 0 deletions