aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2022-05-17 11:30:32 -0700
committerPaul E. McKenney <[email protected]>2022-06-20 09:22:28 -0700
commit0356d4e66214569de674ab2684f2e0b440a466ab (patch)
treefeb5195f3661d9dedb2c443f13d8d24285cde5e9 /scripts/gdb/linux/utils.py
parent434c9eefb959c36331a93617ea95df903469b99f (diff)
rcu-tasks: Track blocked RCU Tasks Trace readers
This commit places any task that has ever blocked within its current RCU Tasks Trace read-side critical section on a per-CPU list within the rcu_tasks_percpu structure. Tasks are removed from this list when they exit by the exit_tasks_rcu_finish_trace() function. The purpose of this commit is to provide the information needed to eliminate the current scan of the full task list. This commit offsets the INT_MIN value for ->trc_reader_nesting with the new nesting level in order to avoid queueing tasks that are exiting their read-side critical sections. [ paulmck: Apply kernel test robot feedback. ] [ paulmck: Apply feedback from [email protected] ] Signed-off-by: Paul E. McKenney <[email protected]> Tested-by: syzbot <[email protected]> Tested-by: "Zhang, Qiang1" <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Neeraj Upadhyay <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: Alexei Starovoitov <[email protected]> Cc: Andrii Nakryiko <[email protected]> Cc: Martin KaFai Lau <[email protected]> Cc: KP Singh <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions