diff options
| author | Roman Gushchin <[email protected]> | 2019-05-07 17:01:48 +0000 |
|---|---|---|
| committer | Dennis Zhou <[email protected]> | 2019-05-09 17:50:30 +0000 |
| commit | 214828962dead0c698f92b60ef97ce3c5fc2c8fe (patch) | |
| tree | 31ef85d837693d35843ff56d719d89db4950794f /tools/perf/scripts/python/stat-cpi.py | |
| parent | percpu_ref: introduce PERCPU_REF_ALLOW_REINIT flag (diff) | |
| download | kernel-214828962dead0c698f92b60ef97ce3c5fc2c8fe.tar.gz kernel-214828962dead0c698f92b60ef97ce3c5fc2c8fe.zip | |
io_uring: 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. This is exactly what
percpu_ref_reinit() called from __io_uring_register() is supposed to
do. So 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
