diff options
| author | Eugene Syromiatnikov <esyr@redhat.com> | 2021-09-13 17:44:15 +0200 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2021-09-13 10:38:13 -0600 |
| commit | dd47c104533dedb90434a3f142e94a671ac623a6 (patch) | |
| tree | 597759bca1e33f1c6ca7d1808be3e72e041db07e /tools/perf/scripts/python | |
| parent | io-wq: fix potential race of acct->nr_workers (diff) | |
| download | linux-dd47c104533dedb90434a3f142e94a671ac623a6.tar.gz linux-dd47c104533dedb90434a3f142e94a671ac623a6.zip | |
io-wq: provide IO_WQ_* constants for IORING_REGISTER_IOWQ_MAX_WORKERS arg items
The items passed in the array pointed by the arg parameter
of IORING_REGISTER_IOWQ_MAX_WORKERS io_uring_register operation
carry certain semantics: they refer to different io-wq worker categories;
provide IO_WQ_* constants in the UAPI, so these categories can be referenced
in the user space code.
Suggested-by: Jens Axboe <axboe@kernel.dk>
Complements: 2e480058ddc21ec5 ("io-wq: provide a way to limit max number of workers")
Signed-off-by: Eugene Syromiatnikov <esyr@redhat.com>
Link: https://lore.kernel.org/r/20210913154415.GA12890@asgard.redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
