Skip to content

Replace rcu_swap_protected() for v5.5

Paul E. McKenney bpf dri-devel intel-gfx kvm linux-scsi linux-security-module lkml netdev netfilter-devel rcu 2 versions – In review

Get series with b4
b4 am 20191022191136.GA25627@paulmck-ThinkPad-P72

Versions newest first · linked by author and title

  1. v2 Latest10 patches 2 repliesIn review
  2. v19 patches 25 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10rcu: Upgrade rcu_swap_protected() to rcu_replace()include/linux/rcupdate.h+18 -00 replies
2/10x86/kvm/pmu: Replace rcu_swap_protected() with rcu_replace()arch/x86/kvm/pmu.c+2 -20 replies
3/10drivers/gpu: Replace rcu_swap_protected() with rcu_replace()drivers/gpu/drm/i915/gem/i915_gem_context.c+1 -12 replies
4/10drivers/scsi: Replace rcu_swap_protected() with rcu_replace()drivers/scsi/scsi.c drivers/scsi/scsi_sysfs.c+6 -60 replies
5/10fs/afs: Replace rcu_swap_protected() with rcu_replace()fs/afs/vl_list.c+2 -20 replies
6/10bpf/cgroup: Replace rcu_swap_protected() with rcu_replace()kernel/bpf/cgroup.c+2 -20 replies
7/10net/core: Replace rcu_swap_protected() with rcu_replace()net/core/dev.c net/core/sock_reuseport.c+4 -40 replies
8/10net/netfilter: Replace rcu_swap_protected() with rcu_replace()net/netfilter/nf_tables_api.c+3 -20 replies
9/10net/sched: Replace rcu_swap_protected() with rcu_replace()net/sched/act_api.c net/sched/act_csum.c net/sched/act_ct.c +9 more+21 -200 replies
10/10security/safesetid: Replace rcu_swap_protected() with rcu_replace()security/safesetid/securityfs.c+2 -20 replies

Reviews trailers per patch

6 of 10 patches have a Reviewed-by or Acked-by.

PatchPaolo BonziniMartin K. PetersenDavid HowellsAndrii NakryikoSong LiuPablo Neira AyusoJoonas Lahtinen
1/10
2/10A-b
3/10R-b
4/10A-b
5/10A-b
6/10A-b A-b
7/10
8/10A-b
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 7 reviewers.

Read the v2 thread

Cover letter [PATCH v2 tip/core/rcu 0/10] Replace rcu_swap_protected() for v5.5

Hello!

This series replaces uses of rcu_swap_protected() with rcu_replace(). A later patch will remove rcu_swap_protected().

1. Upgrade rcu_swap_protected() to rcu_replace().

2-10. Replace calls to rcu_swap_protected() with rcu_replace().

Changes from v1:

o Added security/safesetid patch.

o Changed the name from rcu_replace() to rcu_replace_pointer()
based on feedback from Ingo Molnar.

Thanx, Paul

------------------------------------------------------------------------

 arch/x86/kvm/pmu.c                          |    4 ++--
 drivers/gpu/drm/i915/gem/i915_gem_context.c |    2 +-
 drivers/scsi/scsi.c                         |    4 ++--
 drivers/scsi/scsi_sysfs.c                   |    8 ++++----
 fs/afs/vl_list.c                            |    4 ++--
 include/linux/rcupdate.h                    |   18 ++++++++++++++++++
 kernel/bpf/cgroup.c                         |    4 ++--
 net/core/dev.c                              |    4 ++--
 net/core/sock_reuseport.c                   |    4 ++--
 net/netfilter/nf_tables_api.c               |    5 +++--
 net/sched/act_api.c                         |    2 +-
 net/sched/act_csum.c                        |    4 ++--
 net/sched/act_ct.c                          |    3 ++-
 net/sched/act_ctinfo.c                      |    4 ++--
 net/sched/act_ife.c                         |    2 +-
 net/sched/act_mirred.c                      |    4 ++--
 net/sched/act_mpls.c                        |    2 +-
 net/sched/act_police.c                      |    6 +++---
 net/sched/act_sample.c                      |    4 ++--
 net/sched/act_skbedit.c                     |    4 ++--
 net/sched/act_tunnel_key.c                  |    4 ++--
 net/sched/act_vlan.c                        |    2 +-
 security/safesetid/securityfs.c             |    4 ++--
 23 files changed, 61 insertions(+), 41 deletions(-)