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:23:52 +0000 (10:23 -0500)
commit32734926b793f98d0a52b2a97bc5058d08682a83
tree3452c06b5790d3bd8a5135cdae5e7535e7a01d19
parent61480a4b07f7269e380967d05738b0e003d11e66
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.02546 seconds and 4 git commands to generate.