Commit 96a6988
sched: deadline: Add some helper variables to cleanup deadline logic
As part of an improvement to handling pushable deadline tasks,
Peter suggested this cleanup[1], to use helper values for
dl_entity and dl_rq in the enqueue_task_dl() and
put_prev_task_dl() functions. There should be no functional
change from this patch.
To make sure this cleanup change doesn't obscure later logic
changes, I've split it into its own patch.
[1]: https://lore.kernel.org/lkml/20260304095123.GP606826@noisy.programming.kicks-ass.net/
Suggested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: John Stultz <jstultz@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260512025635.2840817-3-jstultz@google.com1 parent 7a3a6bf commit 96a6988
1 file changed
Lines changed: 14 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2484 | 2484 | | |
2485 | 2485 | | |
2486 | 2486 | | |
2487 | | - | |
| 2487 | + | |
| 2488 | + | |
| 2489 | + | |
| 2490 | + | |
2488 | 2491 | | |
2489 | 2492 | | |
2490 | 2493 | | |
| |||
2497 | 2500 | | |
2498 | 2501 | | |
2499 | 2502 | | |
2500 | | - | |
| 2503 | + | |
2501 | 2504 | | |
2502 | 2505 | | |
2503 | 2506 | | |
2504 | 2507 | | |
2505 | 2508 | | |
2506 | | - | |
2507 | | - | |
| 2509 | + | |
| 2510 | + | |
2508 | 2511 | | |
2509 | 2512 | | |
2510 | 2513 | | |
| |||
2516 | 2519 | | |
2517 | 2520 | | |
2518 | 2521 | | |
2519 | | - | |
| 2522 | + | |
2520 | 2523 | | |
2521 | 2524 | | |
2522 | 2525 | | |
| |||
2525 | 2528 | | |
2526 | 2529 | | |
2527 | 2530 | | |
2528 | | - | |
| 2531 | + | |
2529 | 2532 | | |
2530 | 2533 | | |
2531 | 2534 | | |
2532 | 2535 | | |
2533 | | - | |
| 2536 | + | |
2534 | 2537 | | |
2535 | | - | |
| 2538 | + | |
2536 | 2539 | | |
2537 | 2540 | | |
2538 | 2541 | | |
2539 | 2542 | | |
2540 | 2543 | | |
2541 | | - | |
| 2544 | + | |
2542 | 2545 | | |
2543 | 2546 | | |
2544 | 2547 | | |
| |||
2835 | 2838 | | |
2836 | 2839 | | |
2837 | 2840 | | |
2838 | | - | |
| 2841 | + | |
2839 | 2842 | | |
2840 | 2843 | | |
2841 | 2844 | | |
| |||
2845 | 2848 | | |
2846 | 2849 | | |
2847 | 2850 | | |
2848 | | - | |
| 2851 | + | |
2849 | 2852 | | |
2850 | 2853 | | |
2851 | 2854 | | |
| |||
0 commit comments