diff options
| author | Paul E. McKenney <[email protected]> | 2021-07-14 13:53:51 +0000 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2021-09-16 17:27:48 +0000 |
| commit | c3d0258d5af2a50529e8928fe458344e38653d25 (patch) | |
| tree | a50b1bf33d5a85e1a5322df151dbec9aa87f915a /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
| parent | scftorture: Account for weight_resched when checking for all zeroes (diff) | |
| download | kernel-c3d0258d5af2a50529e8928fe458344e38653d25.tar.gz kernel-c3d0258d5af2a50529e8928fe458344e38653d25.zip | |
scftorture: Count reschedule IPIs
Currently, only those IPIs that invoke scftorture's scf_handler()
IPI handler function are counted. This means that runs exercising
only scftorture.weight_resched will look like they have made no forward
progress, resulting in "GP HANG" complaints from the rcutorture scripting.
This commit therefore increments the scf_invoked_count per-CPU counter
immediately after calling resched_cpu().
Fixes: 1ac78b49d61d4 ("scftorture: Add an alternative IPI vector")
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions
