Skip to content

srcu: Optimize when srcu_gp_start_if_needed() holds read lock

Pingfan Liu rcu 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 16 repliesIn review
  2. v12 patches 9 repliesSuperseded

Changes in v2 from the cover letter

add debug check in [1/2]
drop original "[PATCH 2/2] srcu: Remove needless updating of
srcu_have_cbs in srcu_gp_end()"

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2srcu: Remove needless rcu_seq_done() check while holding read lockkernel/rcu/srcutree.c+9 -71 reply
2/2srcu: Eliminate the case that snp_seq bigger than snap in srcu_funnel_gp_start()include/linux/rcupdate.h kernel/rcu/srcutree.c+7 -516 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCHv2 0/2] srcu: Optimize when srcu_gp_start_if_needed() holds read lock

This series optimizes and remove some code under the condition that srcu_gp_start_if_needed() holds the srcu read lock.

v1 -> v2:
add debug check in [1/2]
drop original "[PATCH 2/2] srcu: Remove needless updating of
srcu_have_cbs in srcu_gp_end()"

Pingfan Liu (2):
srcu: Remove needless rcu_seq_done() check while holding read lock
srcu: Eliminate the case that snp_seq bigger than snap in
srcu_funnel_gp_start()

Cc: Lai Jiangshan <[email protected]>
Cc: "Paul E. McKenney" <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Josh Triplett <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
To: [email protected]

 include/linux/rcupdate.h |  1 +
 kernel/rcu/srcutree.c    | 27 +++++++++++++++------------
 2 files changed, 16 insertions(+), 12 deletions(-)
Signature · 1 line
2.31.1