commit | 801f90677d43f175f271df91a09d36dc7288ccf8 | [log] [tgz] |
---|---|---|
author | Zhen Lei <thunder.leizhen@huawei.com> | Mon Oct 17 18:01:07 2022 +0800 |
committer | Paul E. McKenney <paulmck@kernel.org> | Thu Oct 20 15:55:58 2022 -0700 |
tree | b995626dd96c6af299c4c43523df9d90b6d35b83 | |
parent | e900cc5c86e15adea482cfecc306936e1bd4db6f [diff] |
sched: Add helper nr_context_switches_cpu() Returns the number of context switches on the specified CPU, which can be used to diagnose RCU CPU stalls. Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>