• Paul E. McKenney's avatar
    rcu-tasks: Avoid rcu_tasks_trace_pertask() duplicate list additions · 19415004
    Paul E. McKenney authored
    This commit adds checks within rcu_tasks_trace_pertask() to avoid
    duplicate (and destructive) additions to the holdouts list.  These checks
    will be required later due to the possibility of a given task having
    blocked while in an RCU Tasks Trace read-side critical section, but now
    running on a CPU.
    Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
    Cc: Neeraj Upadhyay <quic_neeraju@quicinc.com>
    Cc: Eric Dumazet <edumazet@google.com>
    Cc: Alexei Starovoitov <ast@kernel.org>
    Cc: Andrii Nakryiko <andrii@kernel.org>
    Cc: Martin KaFai Lau <kafai@fb.com>
    Cc: KP Singh <kpsingh@kernel.org>
    19415004
tasks.h 61.8 KB