diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2021-04-22 11:55:43 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2021-05-10 15:39:19 -0700 |
commit | e5bd61e82b7a60c92bc09a618a0d8a612689037b (patch) | |
tree | 2b7d401482dedb984c3d1b46e3edbdeeff8686f8 /kernel/rcu/rcu.h | |
parent | 58d0db869d7ab8ca97b521f167022caa2c42cbe7 (diff) |
tools/rcu: Add drgn script to dump number of RCU callbacks
This commit adds an rcu-cbs.py drgn script that computes the number of
RCU callbacks waiting to be invoked. This information can be helpful
when managing systems that are short of memory and that have software
components that make heavy use of RCU, for example, by opening and
closing files in tight loops. (But please note that there are almost
always better ways to get your job done than by opening and closing
files in tight loops.)
Reported-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/rcu/rcu.h')
0 files changed, 0 insertions, 0 deletions