Skip to content

v4 patches queued for 2.6.35

Paul E. McKenney lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest48 patches 26 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/48rcu: optionally leave lockdep enabled after RCU lockdep splatinclude/linux/rcupdate.h kernel/lockdep.c lib/Kconfig.debug+16 -46 replies
2/48rcu: substitute set_need_resched for sending resched IPIskernel/rcutree.c+10 -00 replies
3/48rcu: make dead code really deadkernel/rcutree.c+2 -20 replies
4/48rcu: move some code from macro to functionkernel/rcutree.c+9 -90 replies
5/48rcu: ignore offline CPUs in last non-dyntick-idle CPU checkkernel/rcutree_plugin.h+1 -10 replies
6/48rcu: Fix bogus CONFIG_PROVE_LOCKING in comments to reflect reality.include/linux/rcupdate.h include/linux/srcu.h+10 -90 replies
7/48rcu: fix now-bogus rcu_scheduler_active comments.include/linux/rcupdate.h+4 -20 replies
8/48rcu: shrink rcutiny by making synchronize_rcu_bh() be inlineinclude/linux/rcupdate.h include/linux/rcutiny.h include/linux/rcutree.h +1 more+15 -100 replies
9/48rcu: rename rcutiny rcu_ctrlblk to rcu_sched_ctrlblkkernel/rcutiny.c+7 -60 replies
10/48rcu: refactor RCU's context-switch handlinginclude/linux/rcutiny.h include/linux/rcutree.h kernel/rcutree.c +3 more+26 -110 replies
11/48rcu: slim down rcutiny by removing rcu_scheduler_active and friendsinclude/linux/rcupdate.h include/linux/rcutiny.h include/linux/rcutree.h +4 more+82 -220 replies
12/48rcu: enable CPU_STALL_VERBOSE by defaultlib/Kconfig.debug+1 -10 replies
13/48rcu: disable CPU stall warnings upon panickernel/rcutree.c+24 -00 replies
14/48rcu: print boot-time console messages if RCU configs out of ordinarykernel/rcutree.c kernel/rcutree_plugin.h+42 -80 replies
15/48rcu: improve RCU CPU stall-warning messageskernel/rcutree.c kernel/rcutree.h+12 -90 replies
16/48rcu: permit discontiguous cpu_possible_mask CPU numberingkernel/rcutree.c+1 -10 replies
17/48rcu: v2: reduce the number of spurious RCU_SOFTIRQ invocationsDocumentation/RCU/trace.txt kernel/rcutree.c kernel/rcutree.h +1 more+29 -220 replies
18/48rcu: improve the RCU CPU-stall warning documentationDocumentation/RCU/stallwarn.txt+71 -230 replies
19/48Debugobjects transition checkinclude/linux/debugobjects.h lib/debugobjects.c+67 -30 replies
20/48rcu head introduce rcu head init on stackinclude/linux/rcupdate.h+8 -00 replies
21/48remove all rcu head initializations, except on_stack initializationsarch/powerpc/mm/pgtable.c block/cfq-iosched.c block/genhd.c +12 more+38 -194 replies
22/48rcu head remove initinclude/linux/rcupdate.h+0 -60 replies
23/48tree/tiny rcu: Add debug RCU head objects (v5)include/linux/rcupdate.h kernel/rcupdate.c kernel/rcutiny.c +2 more+208 -00 replies
24/48rcu: make SRCU usable in modulesinclude/linux/srcu.h+2 -00 replies
25/48rcu: fix debugobjects rcu head init on stack in rcutree_plugin.hkernel/rcutree_plugin.h+2 -00 replies
26/48rcu: RCU_FAST_NO_HZ must check RCU dyntick statekernel/rcutree_plugin.h+10 -20 replies
27/48vfs: add fs.h to define struct fileinclude/linux/fdtable.h+1 -00 replies
28/48net: Make accesses to ->br_port safe for sparse RCUinclude/linux/if_bridge.h net/bridge/br_fdb.c net/bridge/br_private.h +5 more+19 -105 replies
29/48rcu: add an rcu_dereference_index_check()include/linux/rcupdate.h+33 -00 replies
30/48mce: convert to rcu_dereference_index_check()arch/x86/kernel/cpu/mcheck/mce.c+1 -10 replies
31/48rcu: define __rcu address space modifier for sparseinclude/linux/compiler.h include/linux/rcupdate.h include/linux/srcu.h +2 more+260 -1462 replies
32/48rculist: avoid __rcu annotationsinclude/linux/rculist.h include/linux/rculist_nulls.h kernel/pid.c+45 -250 replies
33/48cgroups: __rcu annotationsinclude/linux/cgroup.h include/linux/sched.h kernel/cgroup.c+4 -42 replies
34/48credentials: rcu annotationinclude/linux/sched.h+2 -20 replies
35/48keys: __rcu annotationsinclude/linux/cred.h include/linux/key.h+3 -20 replies
36/48nfs: __rcu annotationsfs/nfs/delegation.h include/linux/nfs_fs.h include/linux/sunrpc/auth_gss.h+4 -43 replies
37/48net: __rcu annotations for driversdrivers/net/bnx2.h drivers/net/bnx2x.h drivers/net/cnic.h +2 more+5 -50 replies
38/48perf_event: __rcu annotationsinclude/linux/perf_event.h include/linux/sched.h+4 -40 replies
39/48notifiers: __rcu annotationsinclude/linux/notifier.h+5 -50 replies
40/48radix-tree: __rcu annotationsinclude/linux/radix-tree.h lib/radix-tree.c+4 -20 replies
41/48idr: __rcu annotationsinclude/linux/idr.h+2 -20 replies
42/48input: __rcu annotationsdrivers/input/evdev.c include/linux/input.h+2 -20 replies
43/48vhost: add __rcu annotationsdrivers/vhost/net.c drivers/vhost/vhost.c drivers/vhost/vhost.h+11 -114 replies
44/48net/netfilter: __rcu annotationsinclude/net/netfilter/nf_conntrack.h net/ipv4/netfilter/nf_nat_core.c net/netfilter/core.c +6 more+16 -160 replies
45/48kvm: add __rcu annotationsinclude/linux/kvm_host.h+1 -10 replies
46/48kernel: __rcu annotationsinclude/linux/fdtable.h include/linux/fs.h include/linux/genhd.h +3 more+11 -110 replies
47/48net: __rcu annotationsinclude/linux/igmp.h include/linux/netdevice.h include/net/dst.h +26 more+60 -590 replies
48/48kvm: more __rcu annotationsarch/x86/include/asm/kvm_host.h include/linux/kvm_host.h+3 -30 replies

Reviews trailers per patch

5 of 48 patches have a Reviewed-by or Acked-by.

PatchThomas GleixnerDavid S. MillerDhaval GianiEric ParisLai JiangshanPaul MenageJames Morris
1/48Requested-by T-b
2/48
3/48
4/48
5/48
6/48
7/48
8/48
9/48
10/48A-b
11/48
12/48
13/48
14/48
15/48Requested-by
16/48
17/48
18/48
19/48R-b A-b
20/48
21/48R-b
22/48
23/48R-b
24/48
25/48
26/48
27/48
28/48
29/48
30/48
31/48
32/48
33/48A-b
34/48
35/48
36/48
37/48
38/48
39/48
40/48
41/48
42/48
43/48
44/48
45/48
46/48
47/48
48/48

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 v1 thread

Cover letter [PATCH tip/core/rcu 0/48] v4 patches queued for 2.6.35

Hello!

RFC preview of RCU patches queued for 2.6.35, take 4. Take 3 is at http://lkml.org/lkml/2010/4/20/321.
New patches flagged with "New".

1. New: optionally leave lockdep enabled after RCU lockdep splat
This patch, based on one from Lai Jiangshan, allows multiple RCU-lockdep splats per boot. This was proposed for 2.6.34, but it does not qualify as a regression, so it is now at the head of the 2.6.35 queue.

2. substitute set_need_resched for sending resched IPIs
This reduces OS jitter.

3. make dead code really dead.
4. move some code from macro to function
Cleanups from Lai Jiangshan.

5. ignore offline CPUs in last non dyntick idle CPU check
Fix to my CONFIG_RCU_FAST_NO_HZ code to handle offline and non-existent CPUs, also from Lai Jiangshan.

6. fix bogus CONFIG_PROVE_LOCKING in comments to reality
7. fix now bogus rcu_scheduler_active comments
Comment fixups.

8. shrink rcutiny by making synchronize_rcu_bh be inline
Shrink TINY_RCU some more.

9. rename rcutiny rcu_ctrlblk to rcu_sched_ctrlblk
First step towards TINY_PREEMPTIBLE_RCU.

10. refactor RCU's context switch handling
Reduce the number of needless softirqs.

11. slim down rcutiny by removing rcu_scheduler_active and friends
More shrinkage for TINY_RCU

12. enable CPU_STALL_VERBOSE by default. It will have been in one
release, so time to enable it.

13. disable CPU stall warnings upon panic

14. print boot-time console messages if RCU configs out of ordinary

15. improve RCU CPU stall-warning messages

16. permit discontiguous cpu_possible_mask CPU numbering

17. v2: reduce the number of spurious RCU_SOFTIRQ invocations
[Original from Lai Jiangshan]

18. improve the RCU CPU-stall-warning documentation

19. debugobjects transition check
20. introduce rcu_head_init_on_stack
21. remove all non-on-stack rcu_head initializations
22. remove rcu_head initializers
23. Add debug RCU head objects
Debug-objects-based rcu_head checking from Mathieu Desnoyers

24. make SRCU usable in modules
[From Lai Jiangshan]

25. New: fix debugobjects rcu head init on stack in rcutree_plugin.h
Fix from Mathieu for the earlier debugobjects series

26. New: RCU_FAST_NO_HZ must check RCU dyntick state

	Fix for the classic Classic RCU bug introduced via the
	RCU_FAST_NO_HZ patch.  :-/

27. New: add fs.h to define struct file
28. New: Make accesses to ->br_port safe for sparse RCU
29. New: add an rcu_dereference_index_check()
30. New: mce: convert to rcu_dereference_index_check()
31. New: define __rcu address space modifier for sparse
32. New: rculist: avoid __rcu annotations
33. New: cgroups: __rcu annotations
34. New: credentials: rcu annotation
35. New: keys: __rcu annotations
36. New: nfs: __rcu annotations
37. New: net: __rcu annotations for drivers
38. New: perf_event: __rcu annotations
39. New: notifiers: __rcu annotations
40. New: radix-tree: __rcu annotations
41. New: idr: __rcu annotations
42. New: input: __rcu annotations
43. New: vhost: add __rcu annotations
44. New: net/netfilter: __rcu annotations
45. New: kvm: add __rcu annotations
46. New: kernel: __rcu annotations
47. New: net: __rcu annotations
48. New: kvm: more __rcu annotations
Sparse-based RCU checking from Arnd Bergmann. These changes allow sparse to generate complaints if RCU-protected pointers are accessed directly rather than via the appropriate RCU primitive. This is a debugging tool rather than a code-quality enforcement mechanism, although Arnd does have some additional patches should someone wish to use this as a code-quality enforcement mechanism for their code.

Thanx, Paul

 b/Documentation/RCU/stallwarn.txt             |   94 +++--
 b/Documentation/RCU/trace.txt                 |   35 +
 b/arch/powerpc/mm/pgtable.c                   |    1 
 b/arch/x86/include/asm/kvm_host.h             |    2 
 b/arch/x86/kernel/cpu/mcheck/mce.c            |    2 
 b/block/cfq-iosched.c                         |    1 
 b/block/genhd.c                               |    1 
 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/staging/batman-adv/hard-interface.c |    1 
 b/drivers/vhost/net.c                         |    6 
 b/drivers/vhost/vhost.c                       |   12 
 b/drivers/vhost/vhost.h                       |    4 
 b/fs/file.c                                   |    3 
 b/fs/fs-writeback.c                           |   31 +
 b/fs/nfs/delegation.h                         |    2 
 b/fs/partitions/check.c                       |    1 
 b/include/linux/cgroup.h                      |    4 
 b/include/linux/compiler.h                    |    6 
 b/include/linux/cred.h                        |    2 
 b/include/linux/debugobjects.h                |   11 
 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                   |    1 
 b/include/linux/if_macvlan.h                  |    2 
 b/include/linux/igmp.h                        |    4 
 b/include/linux/init_task.h                   |    1 
 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                     |   52 +-
 b/include/linux/rculist_nulls.h               |   16 
 b/include/linux/rcupdate.h                    |    6 
 b/include/linux/rcutiny.h                     |   12 
 b/include/linux/rcutree.h                     |    2 
 b/include/linux/sched.h                       |    2 
 b/include/linux/srcu.h                        |    4 
 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/lockdep.c                            |    2 
 b/kernel/pid.c                                |    2 
 b/kernel/rcupdate.c                           |   19 -
 b/kernel/rcutiny.c                            |    9 
 b/kernel/rcutiny_plugin.h                     |   39 ++
 b/kernel/rcutorture.c                         |    2 
 b/kernel/rcutree.c                            |   10 
 b/kernel/rcutree.h                            |    1 
 b/kernel/rcutree_plugin.h                     |    2 
 b/kernel/rcutree_trace.c                      |    4 
 b/kernel/sched.c                              |    2 
 b/kernel/softirq.c                            |    2 
 b/lib/Kconfig.debug                           |   12 
 b/lib/debugobjects.c                          |   59 +++
 b/lib/radix-tree.c                            |    2 
 b/mm/backing-dev.c                            |    1 
 b/mm/slob.c                                   |    1 
 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_expect.c         |   12 
 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 
 b/security/selinux/avc.c                      |    1 
 b/security/selinux/netnode.c                  |    2 
 include/linux/fdtable.h                       |    6 
 include/linux/init_task.h                     |    4 
 include/linux/kvm_host.h                      |    4 
 include/linux/rcupdate.h                      |  477 +++++++++++++++++---------
 include/linux/rcutiny.h                       |   17 
 include/linux/rcutree.h                       |    4 
 include/linux/sched.h                         |    6 
 include/linux/srcu.h                          |   29 +
 kernel/rcupdate.c                             |  155 ++++++++
 kernel/rcutiny.c                              |   28 +
 kernel/rcutree.c                              |  127 ++++--
 kernel/rcutree.h                              |    1 
 kernel/rcutree_plugin.h                       |   69 +++
 kernel/sched.c                                |    2 
 lib/Kconfig.debug                             |   21 +
 127 files changed, 1193 insertions(+), 485 deletions(-)