[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a6027db7-3ebc-6f12-2b58-4b068a346ee2@kernel.dk>
Date: Sun, 12 Sep 2021 12:29:41 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Eugene Syromiatnikov <esyr@...hat.com>,
Pavel Begunkov <asml.silence@...il.com>
Cc: io-uring@...r.kernel.org, linux-kernel@...r.kernel.org,
"Dmitry V. Levin" <ldv@...ace.io>, linux-api@...r.kernel.org
Subject: Re: [PATCH] io-wq: expose IO_WQ_ACCT_* enumeration items to UAPI
On 9/12/21 6:24 AM, Eugene Syromiatnikov wrote:
> These are used to index aargument of IORING_REGISTER_IOWQ_MAX_WORKERS
> io_uring_register command, so they are to be exposed in UAPI.
Not sure that's necessary, as it's really just a boolean values - is
the worker type bounded or not. That said, not against making it
available for userspace, but definitely not IO_WQ_ACCT_NR. It
should probably just go in liburing, I guess.
--
Jens Axboe
Powered by blists - more mailing lists