diff options
| author | Roman Gushchin <[email protected]> | 2019-05-07 17:01:49 +0000 |
|---|---|---|
| committer | Dennis Zhou <[email protected]> | 2019-05-09 17:50:59 +0000 |
| commit | ddde2af747ad79010f14691f381522987fbcb860 (patch) | |
| tree | 6e2b6287133d7ae7f2a49ba3f1a4dc014933806c /tools/perf/scripts/python/stat-cpi.py | |
| parent | io_uring: initialize percpu refcounters using PERCU_REF_ALLOW_REINIT (diff) | |
| download | kernel-ddde2af747ad79010f14691f381522987fbcb860.tar.gz kernel-ddde2af747ad79010f14691f381522987fbcb860.zip | |
md: initialize percpu refcounters using PERCU_REF_ALLOW_REINIT
Percpu reference counters should now be initialized with the
PERCPU_REF_ALLOW_REINIT in order to allow switching them to the
percpu mode from the atomic mode.
To make percpu_ref_switch_to_percpu() call in set_in_sync()
succeed,let's initialize percpu refcounters with the
PERCU_REF_ALLOW_REINIT flag.
Signed-off-by: Roman Gushchin <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Signed-off-by: Dennis Zhou <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions
