-
Notifications
You must be signed in to change notification settings - Fork 402
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: turn INT_FLAG_REG_RING into masked flag
If INT_FLAG_REG_RING matches IORING_ENTER_REGISTERED_RING, then it's possible to drop the branches around masking in this value for every io_uring_enter(2) system call. This also allows for doing the same with future flags, where it would be beneficial to have them set for each invocation, without needing to add branches for that. Signed-off-by: Jens Axboe <axboe@kernel.dk>
- Loading branch information
Showing
2 changed files
with
15 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters