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:24:01 +0000 (10:24 -0500)
commitd8dc04aa1a4ebbd5fa332376aaf1782d6e47d99e
tree7c64089042910d4688f295fbb912fa7ab0bc2644
parenta4550c96fcf5939a607efcd1c01e93f7dcbb6610
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.024838 seconds and 4 git commands to generate.