diff options
| author | Paul E. McKenney <[email protected]> | 2018-04-26 11:52:09 -0700 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2018-07-12 14:27:46 -0700 |
| commit | de30ad512a668b56e7ad7a5a7c379d7c5d138a94 (patch) | |
| tree | b738dc4cef2074311f09b55da11f1a74a72acf72 /tools/perf/scripts/python/sched-migration.py | |
| parent | 609af1cdf040f8d3f3986755586f7833eaa96d2c (diff) | |
rcu: Introduce grace-period sequence numbers
This commit adds grace-period sequence numbers (->gp_seq) to the
rcu_state, rcu_node, and rcu_data structures, and updates them.
It also checks for consistency between rsp->gpnum and rsp->gp_seq.
These ->gp_seq counters will eventually replace the existing ->gpnum
and ->completed counters, allowing a single memory access to determine
whether or not a grace period is in progress and if so, which one.
This in turn will enable changes that will reduce ->lock contention on
the leaf rcu_node structures.
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions