Fix: rcu: Fix data-race due to atomic_t copy-by-value (5.5.6, 5.4.22)
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 25 Feb 2020 15:18:11 +0000 (10:18 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 25 Feb 2020 15:26:44 +0000 (10:26 -0500)
commitdab37f9594b9af44bd3f9b6a24e8699da1116faa
treed8d97fc37c87170fc584621f4896cee2dc7ea54a
parent858618467cf7b7cb9f83ca283b45187ecb13c8cf
Fix: rcu: Fix data-race due to atomic_t copy-by-value (5.5.6, 5.4.22)

The following upstream commit has been backported to stable kernels
5.5.6 and 5.4.22:

  commit 6cf539a87a61a4fbc43f625267dbcbcf283872ed
  Author: Marco Elver <elver@google.com>
  Date:   Wed Oct 9 17:57:43 2019 +0200

    rcu: Fix data-race due to atomic_t copy-by-value

    This fixes a data-race where `atomic_t dynticks` is copied by value. The
    copy is performed non-atomically, resulting in a data-race if `dynticks`
    is updated concurrently.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
instrumentation/events/lttng-module/rcu.h
This page took 0.025426 seconds and 4 git commands to generate.