infrastructure for sparse checks for RCU usage
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest23 patches 31 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/23 | rcu: add an rcu_dereference_index_check()include/ | +33 | 0 replies | |
| 2/23 | rcu: add __rcu API for later sparse checkinginclude/ | +2 | 2 replies | |
| 3/23 | vfs: add fs.h to define struct fileinclude/ | +1 | 0 replies | |
| 4/23 | net: Make accesses to ->br_port safe for sparse RCUinclude/ net/ net/ +5 more | +21 | 4 replies | |
| 5/23 | mce: convert to rcu_dereference_index_check()arch/ | +1 | 0 replies | |
| 6/23 | rcu: define __rcu address space modifier for sparseinclude/ include/ include/ +2 more | +257 | 0 replies | |
| 7/23 | rculist: avoid __rcu annotationsinclude/ include/ kernel/ | +46 | 0 replies | |
| 8/23 | cgroups: __rcu annotationsinclude/ include/ kernel/ | +4 | 0 replies | |
| 9/23 | credentials: rcu annotationinclude/ | +2 | 1 reply | |
| 10/23 | keys: __rcu annotationsinclude/ include/ | +3 | 1 reply | |
| 11/23 | nfs: __rcu annotationsinclude/ include/ | +3 | 0 replies | |
| 12/23 | net: __rcu annotations for driversdrivers/ drivers/ drivers/ +2 more | +5 | 0 replies | |
| 13/23 | perf_event: __rcu annotationsinclude/ include/ | +4 | 0 replies | |
| 14/23 | notifiers: __rcu annotationsinclude/ | +5 | 0 replies | |
| 15/23 | radix-tree: __rcu annotationsinclude/ lib/ | +4 | 0 replies | |
| 16/23 | idr: __rcu annotationsinclude/ | +2 | 0 replies | |
| 17/23 | input: __rcu annotationsdrivers/ include/ | +2 | 1 reply | |
| 18/23 | net/netfilter: __rcu annotationsinclude/ net/ net/ +5 more | +10 | 1 reply | |
| 19/23 | kvm: add __rcu annotationsinclude/ | +1 | 0 replies | |
| 20/23 | kernel: __rcu annotationsinclude/ include/ include/ +3 more | +11 | 0 replies | |
| 21/23 | net: __rcu annotationsinclude/ include/ include/ +26 more | +60 | 0 replies | |
| 22/23 | kvm: more __rcu annotationsarch/ include/ | +3 | 0 replies | |
| 23/23 | vhost: add __rcu annotationsdrivers/ drivers/ drivers/ | +18 | 21 replies |
Reviews trailers per patch
5 of 23 patches have a Reviewed-by or Acked-by.
| Patch | Paul Menage | Dmitry Torokhov | David Howells | Patrick McHardy |
|---|---|---|---|---|
| 1/23 | ||||
| 2/23 | ||||
| 3/23 | ||||
| 4/23 | ||||
| 5/23 | ||||
| 6/23 | ||||
| 7/23 | ||||
| 8/23 | A-b | |||
| 9/23 | A-b | |||
| 10/23 | A-b | |||
| 11/23 | ||||
| 12/23 | ||||
| 13/23 | ||||
| 14/23 | ||||
| 15/23 | ||||
| 16/23 | ||||
| 17/23 | A-b | |||
| 18/23 | A-b | |||
| 19/23 | ||||
| 20/23 | ||||
| 21/23 | ||||
| 22/23 | ||||
| 23/23 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH tip/core/rcu 0/23] infrastructure for sparse checks for RCU usage
Hello!
This patchset pulls Arnd's sparse-checking commits out of the earlier patchbomb (http://lkml.org/lkml/2010/5/4/298):
1. Add an rcu_dereference_check() API in order to continue supporting
the array-index use cases that would otherwise be invalidated by this change.
2. Add an empty __rcu annotation API to reduce inter-commit dependency.
3-5. Updates to vfs, net, and mce to avoid breakage by later commits.
6. Introduce sparse __rcu functionality.
7. Update rculist primitives to avoid false positives.
8-22. Introduce __rcu annotations to cgroups, credentials, keys, nfs,
net, perf_event, notifiers, radix-tree, idr, input, net-netfilter, kvm, and kernel.
23. Introduce __rcu annotations and checks to vhost.
These have been reordered and consolidated to reduce inter-commit dependencies.
Thanx, Paul
b/arch/x86/include/asm/kvm_host.h | 2 b/arch/x86/kernel/cpu/mcheck/mce.c | 2 b/drivers/input/evdev.c | 2 b/drivers/net/bnx2.h | 2 b/drivers/net/bnx2x.h | 2 b/drivers/net/cnic.h | 2 b/drivers/net/macvtap.c | 2 b/drivers/vhost/net.c | 11 - b/drivers/vhost/vhost.c | 14 - b/drivers/vhost/vhost.h | 4 b/include/linux/cgroup.h | 4 b/include/linux/compiler.h | 2 b/include/linux/cred.h | 2 b/include/linux/fdtable.h | 1 b/include/linux/fs.h | 2 b/include/linux/genhd.h | 6 b/include/linux/idr.h | 4 b/include/linux/if_bridge.h | 3 b/include/linux/if_macvlan.h | 2 b/include/linux/igmp.h | 4 b/include/linux/init_task.h | 4 b/include/linux/input.h | 2 b/include/linux/iocontext.h | 2 b/include/linux/key.h | 3 b/include/linux/kvm_host.h | 2 b/include/linux/mm_types.h | 2 b/include/linux/netdevice.h | 12 - b/include/linux/nfs_fs.h | 2 b/include/linux/notifier.h | 10 b/include/linux/perf_event.h | 6 b/include/linux/radix-tree.h | 4 b/include/linux/rculist.h | 53 +++- b/include/linux/rculist_nulls.h | 16 + b/include/linux/rcupdate.h | 33 +++ b/include/linux/sched.h | 2 b/include/linux/srcu.h | 27 ++ b/include/linux/sunrpc/auth_gss.h | 4 b/include/net/dst.h | 2 b/include/net/fib_rules.h | 2 b/include/net/garp.h | 2 b/include/net/inet_sock.h | 2 b/include/net/ip6_tunnel.h | 2 b/include/net/ipip.h | 6 b/include/net/net_namespace.h | 2 b/include/net/netfilter/nf_conntrack.h | 2 b/include/net/netns/xfrm.h | 2 b/include/net/sock.h | 4 b/kernel/cgroup.c | 2 b/kernel/pid.c | 2 b/kernel/rcupdate.c | 6 b/kernel/sched.c | 2 b/lib/Kconfig.debug | 13 + b/lib/radix-tree.c | 2 b/net/802/stp.c | 4 b/net/bridge/br_fdb.c | 2 b/net/bridge/br_private.h | 8 b/net/bridge/netfilter/ebt_redirect.c | 2 b/net/bridge/netfilter/ebt_ulog.c | 4 b/net/bridge/netfilter/ebtables.c | 4 b/net/ipv4/ip_gre.c | 2 b/net/ipv4/ipip.c | 10 b/net/ipv4/netfilter/nf_nat_core.c | 2 b/net/ipv4/protocol.c | 2 b/net/ipv4/route.c | 2 b/net/ipv4/tcp.c | 4 b/net/ipv6/ip6_tunnel.c | 6 b/net/ipv6/protocol.c | 2 b/net/ipv6/sit.c | 10 b/net/mac80211/ieee80211_i.h | 15 - b/net/mac80211/sta_info.h | 4 b/net/netfilter/core.c | 2 b/net/netfilter/nf_conntrack_ecache.c | 4 b/net/netfilter/nf_conntrack_extend.c | 2 b/net/netfilter/nf_conntrack_proto.c | 4 b/net/netfilter/nf_log.c | 2 b/net/netfilter/nf_queue.c | 2 b/net/netfilter/nfnetlink_log.c | 4 b/net/netfilter/nfnetlink_queue.c | 4 b/net/netlabel/netlabel_domainhash.c | 4 b/net/netlabel/netlabel_unlabeled.c | 4 b/net/netlink/af_netlink.c | 2 b/net/phonet/af_phonet.c | 2 b/net/phonet/pn_dev.c | 2 b/net/socket.c | 2 include/linux/compiler.h | 4 include/linux/fdtable.h | 6 include/linux/kvm_host.h | 4 include/linux/rcupdate.h | 352 +++++++++++++++++++-------------- include/linux/sched.h | 6 89 files changed, 498 insertions(+), 307 deletions(-)