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:18:11 +0000 (10:18 -0500)
commit8c7190e049b7cb5c049bf52b789a1d0f21206cb4
tree16b44b3ff458e67692d8827b35420f68719e04c1
parentedfdcb685c3f56dde803244449f79ad7bed03798
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.026031 seconds and 4 git commands to generate.