diff options
| author | 2020-04-15 22:26:55 +0000 | |
|---|---|---|
| committer | 2020-06-29 11:58:49 -0700 | |
| commit | 7ee880b7bf1dea88d0a472b775aebdb4fb6bf860 (patch) | |
| tree | 18e3addaf589f8769016e53b649fbb96a15fd498 /virt/git:/ssh:/git@git.zx2c4.com | |
| parent | Linux 5.8-rc3 (diff) | |
rcu: Initialize and destroy rcu_synchronize only when necessary
The __wait_rcu_gp() function unconditionally initializes and cleans up
each element of rs_array[], whether used or not. This is slightly
wasteful and rather confusing, so this commit skips both initialization
and cleanup for duplicate callback functions.
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'virt/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
