diff options
| author | Joel Fernandes (Google) <joel@joelfernandes.org> | 2020-11-03 09:26:03 -0500 |
|---|---|---|
| committer | Paul E. McKenney <paulmck@kernel.org> | 2021-01-06 16:23:23 -0800 |
| commit | c2e13112e830c06825339cbadf0b3bc2bdb9a716 (patch) | |
| tree | d07a64c8298ff3faea94c2c7d629b5db008f7d4f /lib/mpi/mpiutil.c | |
| parent | 6bc335828056f3b301a3deadda782de4e8f0db08 (diff) | |
rcu/segcblist: Add additional comments to explain smp_mb()
One counter-intuitive property of RCU is the fact that full memory
barriers are needed both before and after updates to the full
(non-segmented) length. This patch therefore helps to assist the
reader's intuition by adding appropriate comments.
[ paulmck: Wordsmithing. ]
Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
