summaryrefslogtreecommitdiff
path: root/lib/memcpy_kunit.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <frederic@kernel.org>2024-08-14 00:56:42 +0200
committerNeeraj Upadhyay <neeraj.upadhyay@kernel.org>2024-09-09 00:05:26 +0530
commit7562eed272b49e233c430524e684b957f34f2fd2 (patch)
treee8010ed683b6495279dd7236b0b875440dccd28c /lib/memcpy_kunit.c
parent1b022b8763fde84c51ca06218306d7d88fb090cb (diff)
rcu/nocb: Remove superfluous memory barrier after bypass enqueue
Pre-GP accesses performed by the update side must be ordered against post-GP accesses performed by the readers. This is ensured by the bypass or nocb locking on enqueue time, followed by the fully ordered rnp locking initiated while callbacks are accelerated, and then propagated throughout the whole GP lifecyle associated with the callbacks. Therefore the explicit barrier advertizing ordering between bypass enqueue and rcuo wakeup is superfluous. If anything, it would even only order the first bypass callback enqueue against the rcuo wakeup and ignore all the subsequent ones. Remove the needless barrier. Signed-off-by: Frederic Weisbecker <frederic@kernel.org> Signed-off-by: Neeraj Upadhyay <neeraj.upadhyay@kernel.org>
Diffstat (limited to 'lib/memcpy_kunit.c')
0 files changed, 0 insertions, 0 deletions