public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4 V2] rcu: implement call_srcu()
@ 2012-03-19  8:12 Lai Jiangshan
  2012-03-19  8:12 ` [PATCH 1/4 V2] rcu: fix srcu_readers_active() Lai Jiangshan
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Lai Jiangshan @ 2012-03-19  8:12 UTC (permalink / raw)
  To: Paul E. McKenney
  Cc: Lai Jiangshan, linux-kernel, mingo, dipankar, akpm,
	mathieu.desnoyers, josh, niv, tglx, peterz, rostedt,
	Valdis.Kletnieks, dhowells, eric.dumazet, darren, fweisbec,
	patches

These patches are the second version of the
"[RFC PATCH 5/5 single-thread-version] implement per-domain single-thread state machine call_srcu()"

These patches are on the top of paulmck/linux-rcu.git/rcu/srcu
(3c8975b51a7bed5dd993c5c4eab245a121bdc728)

I noticed this branch has patch "implement Peter's checking algorithm"
applied, so the pathes are rebased on 3c8975b51 and are tested based on
Peter's algorithm.

Except the rebasing, only 2 changes:
	Refactor the srcu_advance_batches() as Peter's suggestion.
	Impletement synchronize_srcu() with fast path awared.
	- old version just calls call_srcu() and waits.
	- Ftrace shows new synchronize_srcu() cost 6us when fast path.

Lai Jiangshan (4):
  fix for peter's algorithm
  use "int trycount" instead of "bool expedited"
  add call_srcu()
  add srcu torture

 include/linux/srcu.h |   25 ++++-
 kernel/rcutorture.c  |   44 ++++++-
 kernel/srcu.c        |  322 +++++++++++++++++++++++++++++++++++++++-----------
 3 files changed, 314 insertions(+), 77 deletions(-)

-- 
1.7.4.4


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-04-14 15:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-19  8:12 [PATCH 0/4 V2] rcu: implement call_srcu() Lai Jiangshan
2012-03-19  8:12 ` [PATCH 1/4 V2] rcu: fix srcu_readers_active() Lai Jiangshan
2012-03-19  8:12 ` [PATCH 2/4 V2] rcu: use "int trycount" instead of "bool expedited" Lai Jiangshan
2012-03-19  8:12 ` [PATCH 3/4 V2] implement per-domain single-thread state machine call_srcu() Lai Jiangshan
2012-04-10 23:18   ` Paul E. McKenney
2012-04-11 12:27     ` Paul E. McKenney
2012-04-14 13:22     ` Peter Zijlstra
2012-04-14 15:26       ` Paul E. McKenney
2012-03-19  8:12 ` [PATCH 4/4 V2] add srcu torture test Lai Jiangshan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox