diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2019-09-23 15:15:35 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2019-10-30 08:43:51 -0700 |
commit | 12e78e6902134c9e49b2481c2515555e6f7b12dc (patch) | |
tree | 8622bcef961df31613a81e44d4c2c6e084032e9f /LICENSES | |
parent | a63fc6b75cca984c71f095282e0227a390ba88f3 (diff) | |
download | talos-op-linux-12e78e6902134c9e49b2481c2515555e6f7b12dc.tar.gz talos-op-linux-12e78e6902134c9e49b2481c2515555e6f7b12dc.zip |
x86/kvm/pmu: Replace rcu_swap_protected() with rcu_replace_pointer()
This commit replaces the use of rcu_swap_protected() with the more
intuitively appealing rcu_replace_pointer() as a step towards removing
rcu_swap_protected().
Link: https://lore.kernel.org/lkml/CAHk-=wiAsJLw1egFEE=Z7-GGtM6wcvtyytXZA1+BHqta4gg6Hw@mail.gmail.com/
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
[ paulmck: From rcu_replace() to rcu_replace_pointer() per Ingo Molnar. ]
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Cc: "Radim Krčmář" <rkrcmar@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: <x86@kernel.org>
Cc: <kvm@vger.kernel.org>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions