Commit 3657680
sched/psi: Delete the 'update_total' function parameter from update_triggers()
The 'update_total' parameter of update_triggers() is always true after the
previous commit:
80cc1d1 ("sched/psi: Avoid updating PSI triggers and ->rtpoll_total when there are no state changes")
If the 'changed_states & group->rtpoll_states' condition is true,
'new_stall' in update_triggers() will be true, and then 'update_total'
should also be true.
So update_total is redundant - remove it.
[ mingo: Changelog updates ]
Signed-off-by: Yang Yang <yang.yang29@zte.com.cn>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Peter Ziljstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/202310101645437859599@zte.com.cn1 parent 80cc1d1 commit 3657680
1 file changed
Lines changed: 3 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
434 | 434 | | |
435 | 435 | | |
436 | 436 | | |
437 | | - | |
| 437 | + | |
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
444 | | - | |
445 | 444 | | |
446 | 445 | | |
447 | 446 | | |
| |||
471 | 470 | | |
472 | 471 | | |
473 | 472 | | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | 473 | | |
483 | 474 | | |
484 | 475 | | |
| |||
563 | 554 | | |
564 | 555 | | |
565 | 556 | | |
566 | | - | |
567 | 557 | | |
568 | 558 | | |
569 | 559 | | |
| |||
582 | 572 | | |
583 | 573 | | |
584 | 574 | | |
585 | | - | |
| 575 | + | |
586 | 576 | | |
587 | 577 | | |
588 | 578 | | |
| |||
638 | 628 | | |
639 | 629 | | |
640 | 630 | | |
641 | | - | |
642 | 631 | | |
643 | 632 | | |
644 | 633 | | |
| |||
705 | 694 | | |
706 | 695 | | |
707 | 696 | | |
708 | | - | |
| 697 | + | |
709 | 698 | | |
710 | 699 | | |
711 | 700 | | |
| |||
0 commit comments