Commit 1dcb98b
committed
sched_ext: Pass locked CPU parameter to scx_hardlockup() and add docs
With the buddy lockup detector, smp_processor_id() returns the detecting CPU,
not the locked CPU, making scx_hardlockup()'s printouts confusing. Pass the
locked CPU number from watchdog_hardlockup_check() as a parameter instead.
Also add kerneldoc comments to handle_lockup(), scx_hardlockup(), and
scx_rcu_cpu_stall() documenting their return value semantics.
Suggested-by: Doug Anderson <[email protected]>
Reviewed-by: Douglas Anderson <[email protected]>
Acked-by: Andrea Righi <[email protected]>
Reviewed-by: Emil Tsalapatis <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>1 parent 67932f6 commit 1dcb98b
3 files changed
+25
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
| 233 | + | |
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3687 | 3687 | | |
3688 | 3688 | | |
3689 | 3689 | | |
| 3690 | + | |
| 3691 | + | |
| 3692 | + | |
| 3693 | + | |
| 3694 | + | |
| 3695 | + | |
| 3696 | + | |
| 3697 | + | |
| 3698 | + | |
| 3699 | + | |
| 3700 | + | |
3690 | 3701 | | |
3691 | 3702 | | |
3692 | 3703 | | |
| |||
3718 | 3729 | | |
3719 | 3730 | | |
3720 | 3731 | | |
| 3732 | + | |
| 3733 | + | |
| 3734 | + | |
| 3735 | + | |
3721 | 3736 | | |
3722 | 3737 | | |
3723 | 3738 | | |
| |||
3750 | 3765 | | |
3751 | 3766 | | |
3752 | 3767 | | |
| 3768 | + | |
| 3769 | + | |
| 3770 | + | |
| 3771 | + | |
3753 | 3772 | | |
3754 | | - | |
| 3773 | + | |
3755 | 3774 | | |
3756 | | - | |
| 3775 | + | |
3757 | 3776 | | |
3758 | 3777 | | |
3759 | 3778 | | |
3760 | | - | |
| 3779 | + | |
3761 | 3780 | | |
3762 | 3781 | | |
3763 | 3782 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
| 206 | + | |
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| |||
0 commit comments