From: Michael Jeanson Date: Tue, 11 Feb 2020 19:51:01 +0000 (-0500) Subject: fix: rcu: Fix data-race due to atomic_t copy-by-value (v5.6) X-Git-Tag: v2.11.2~5 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=2c4fc808098849a343f24f35c8444d92956d1a8f;hp=2c4fc808098849a343f24f35c8444d92956d1a8f;p=lttng-modules.git fix: rcu: Fix data-race due to atomic_t copy-by-value (v5.6) See upstream commit : 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: Michael Jeanson Signed-off-by: Mathieu Desnoyers ---