Commit 546a3fe
Peter Zijlstra
sched: Reverse sched_class layout
Because GCC-12 is fully stupid about array bounds and it's just really
hard to get a solid array definition from a linker script, flip the
array order to avoid needing negative offsets :-/
This makes the whole relational pointer magic a little less obvious, but
alas.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lkml.kernel.org/r/YoOLLmLG7HRTXeEm@hirez.programming.kicks-ass.net1 parent 734387e commit 546a3fe
3 files changed
Lines changed: 20 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
| 129 | + | |
134 | 130 | | |
135 | | - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2193 | 2193 | | |
2194 | 2194 | | |
2195 | 2195 | | |
2196 | | - | |
| 2196 | + | |
2197 | 2197 | | |
2198 | 2198 | | |
2199 | 2199 | | |
| |||
5692 | 5692 | | |
5693 | 5693 | | |
5694 | 5694 | | |
5695 | | - | |
| 5695 | + | |
5696 | 5696 | | |
5697 | 5697 | | |
5698 | 5698 | | |
| |||
9472 | 9472 | | |
9473 | 9473 | | |
9474 | 9474 | | |
9475 | | - | |
9476 | | - | |
9477 | | - | |
| 9475 | + | |
| 9476 | + | |
| 9477 | + | |
9478 | 9478 | | |
9479 | | - | |
| 9479 | + | |
9480 | 9480 | | |
9481 | 9481 | | |
9482 | 9482 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2177 | 2177 | | |
2178 | 2178 | | |
2179 | 2179 | | |
| 2180 | + | |
| 2181 | + | |
2180 | 2182 | | |
2181 | 2183 | | |
2182 | 2184 | | |
| |||
2185 | 2187 | | |
2186 | 2188 | | |
2187 | 2189 | | |
2188 | | - | |
2189 | | - | |
2190 | | - | |
2191 | | - | |
2192 | | - | |
| 2190 | + | |
| 2191 | + | |
2193 | 2192 | | |
2194 | 2193 | | |
2195 | | - | |
| 2194 | + | |
2196 | 2195 | | |
2197 | 2196 | | |
2198 | | - | |
| 2197 | + | |
| 2198 | + | |
| 2199 | + | |
2199 | 2200 | | |
2200 | 2201 | | |
2201 | 2202 | | |
| |||
0 commit comments