Skip to content

RCU-protected list updates for 4.2

Paul E. McKenney lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 19 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4rculist: Fix another sparse warninginclude/linux/rculist.h+2 -20 replies
2/4rculist: Fix list_entry_rcu to read ptr with rcu_dereference_rawinclude/linux/rculist.h+1 -40 replies
3/4md/bitmap: Fix list_entry_rcu usagedrivers/md/bitmap.c+1 -118 replies
4/4netfilter: Fix list_entry_rcu usagenet/netfilter/core.c+1 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH tip/core/rcu 0/4] RCU-protected list updates for 4.2

Hello!

This series contains a few updates to RCU-protected lists.

1. Add RCU annotation to suppress sparse warnings in
hlist_for_each_entry_from_rcu(), courtesy of Ying Xue.

2. Fix list_entry_rcu to read ptr with rcu_dereference_raw() to
save a load instruction, courtesy of Patrick Marlier.

3. Fix list_entry_rcu() usage in next_active_rdev(), courtesy
of Patrick Marlier.

4. Fix list_entry_rcu() usage in nf_hook_slow(), courtesy of
Patrick Marlier.

Thanx, Paul

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

 b/drivers/md/bitmap.c     |    2 +-
 b/include/linux/rculist.h |    9 +++------
 b/net/netfilter/core.c    |    2 +-
 3 files changed, 5 insertions(+), 8 deletions(-)