From: Mathieu Desnoyers Date: Tue, 25 Feb 2020 15:18:11 +0000 (-0500) Subject: Fix: rcu: Fix data-race due to atomic_t copy-by-value (5.5.6, 5.4.22) X-Git-Tag: v2.11.2~1 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=d8dc04aa1a4ebbd5fa332376aaf1782d6e47d99e;hp=d8dc04aa1a4ebbd5fa332376aaf1782d6e47d99e;p=lttng-modules.git 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 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 ---