commit | 7da931ad8fc094ad6d674647903e112e840c2cf7 | [log] [tgz] |
---|---|---|
author | Joel Fernandes (Google) <joel@joelfernandes.org> | Wed Oct 14 18:23:19 2020 -0400 |
committer | Joel Fernandes (Google) <joel@joelfernandes.org> | Tue Nov 03 10:01:49 2020 -0500 |
tree | 85014b2024f303eae8885a912cdd2c3683885dd5 | |
parent | 81b01b8ecb3c904c806ebec53679d756df0a6417 [diff] |
rcu/segcblist: Add additional comments to explain smp_mb() Memory barriers are needed when updating the full length of the segcblist, however it is not fully clearly why one is needed before and after. This patch therefore adds additional comments to the function header to explain it. Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>